From 5274b888c0d43535aa51d5a1746dccfe9dc7db31 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 15 Apr 2017 14:45:33 +0000 Subject: debian/rules: Preserve upstream's po/arctica-greeter.pot (it gets recreated during build). --- debian/rules | 9 +++++++-- 1 file 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 -- cgit v1.2.3