on xenial help sign in
Update .pot file in debian/clean when in train

Approved by: Didier Roche, Robert Bruce Park

commitb42a3eb49e05c366629f54cf6e10f5bcacf8b910 authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 8 Dec 2015, 15:37 (11 years ago) parent78e9829ea34f77
1 file changed+8
debian/rules+8
debian/rules+8
@@ -40,3 +40,11 @@ override_dh_makeshlibs:
4040# libMockLightDM-qml.so links against liblightdm-qt5-2.so which doesn't exist
4141override_dh_shlibdeps:
4242 dh_shlibdeps -XlibMockLightDM-qml.so
43+
44+override_dh_auto_clean:
45+ dh_auto_clean
46+ # only run under "CI Train"
47+ if [ -n "$(SILONAME)" -a -x /usr/bin/bzr ]; then \
48+ ./po/update-unity-pot; \
49+ bzr commit --message "Update translation template" po/unity8.pot; \
50+ fi