on xenial help sign in
Add a clean target that, under CI Train, will update the .pot file and commit it
719e95eMichał Sawicz
debian/rules+7
@@ -40,3 +40,10 @@ override_dh_makeshlibs:
40# libMockLightDM-qml.so links against liblightdm-qt5-2.so which doesn't exist
40# libMockLightDM-qml.so links against liblightdm-qt5-2.so which doesn't exist
41override_dh_shlibdeps:
41override_dh_shlibdeps:
42 dh_shlibdeps -XlibMockLightDM-qml.so
42 dh_shlibdeps -XlibMockLightDM-qml.so
43+
44+clean:
45+ # only run under "CI Train"
46+ if [ -n "$(SILONAME)" -a -x /usr/bin/bzr ]; then \
47+ ./po/update-unity-pot; \
48+ bzr commit --message "Update translation template" po/unity8.pot; \
49+ fi