rules: If git is installed, revert po/ on clean.

This commit is contained in:
Timo Aaltonen
2018-04-06 17:04:33 +03:00
parent 5a7276f552
commit 84f16acb9b
2 changed files with 4 additions and 0 deletions

3
debian/rules vendored
View File

@@ -49,6 +49,9 @@ endif
override_dh_clean: gencontrol
dh_clean
if [ -f /usr/bin/git ]; then \
git checkout -- po; \
fi
override_dh_auto_configure: gencontrol
dh_auto_configure -- $(confflags)