diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-04-15 14:45:33 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-04-15 14:45:33 +0000 |
commit | 5274b888c0d43535aa51d5a1746dccfe9dc7db31 (patch) | |
tree | cc57278fa35922c6e311d08104c21b2f38090e7e | |
parent | 77ee958116a2abfe0576b238cc1ae2ac3031301d (diff) | |
download | arctica-greeter-5274b888c0d43535aa51d5a1746dccfe9dc7db31.tar.gz arctica-greeter-5274b888c0d43535aa51d5a1746dccfe9dc7db31.tar.bz2 arctica-greeter-5274b888c0d43535aa51d5a1746dccfe9dc7db31.zip |
debian/rules: Preserve upstream's po/arctica-greeter.pot (it gets recreated during build).
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index ffa64df..0c07f79 100755 --- a/debian/rules +++ b/debian/rules @@ -6,9 +6,11 @@ LDFLAGS+=-Wl,--as-needed dh $@ --with autoreconf --fail-missing override_dh_autoreconf: + if [ ! -e po/arctica-greeter.pot.bak ]; then \ + cp po/arctica-greeter.pot po/arctica-greeter.pot.bak; \ + fi NOCONFIGURE=1 dh_autoreconf ./autogen.sh - override_dh_auto_build: dh_auto_build @@ -23,8 +25,11 @@ override_dh_auto_install: override_dh_auto_clean: dh_auto_clean + if [ -e po/arctica-greeter.pot.bak ]; then \ + mv -f po/arctica-greeter.pot.bak po/arctica-greeter.pot; \ + fi rm -f src/arctica_greeter_vala.stamp rm -f src/logo_generator_vala.stamp rm -f tests/arctica_greeter_test_vala.stamp rm -f src/*.c - rm -f tests/*.c
\ No newline at end of file + rm -f tests/*.c |