aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-15 14:45:33 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-15 14:45:33 +0000
commit5274b888c0d43535aa51d5a1746dccfe9dc7db31 (patch)
treecc57278fa35922c6e311d08104c21b2f38090e7e /debian
parent77ee958116a2abfe0576b238cc1ae2ac3031301d (diff)
downloadarctica-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).
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules9
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