Add a clean target that, under CI Train, will update the .pot file and commit it
commit719e95ec1d1bf6a271d28ff7bc9ae5bda3a7f218
authorMichał Sawicz <michal.sawicz@canonical.com>
dateTue 1 Dec 2015, 14:07 (11 years ago)
parent1bc8eaf
debian/rules+7
@@ -40,3 +40,10 @@ 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+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