aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-18 15:05:05 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-18 15:05:05 +0100
commit7340464969d00774a0e5d290e263dbae85b8a988 (patch)
tree9180831736f8d3963d01b2f921a704f6922fc668
parentbd404e0141ea7fb52ac2fb89ecebf8f2092ca367 (diff)
downloadayatana-indicator-notifications-7340464969d00774a0e5d290e263dbae85b8a988.tar.gz
ayatana-indicator-notifications-7340464969d00774a0e5d290e263dbae85b8a988.tar.bz2
ayatana-indicator-notifications-7340464969d00774a0e5d290e263dbae85b8a988.zip
debian/rules: Keep .pot file in po/ after dh_auto_clean. Work around for flawed gettext autotools integration it seems.
-rwxr-xr-xdebian/rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 22435b7..6501d4a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,9 @@ include /usr/share/dpkg/buildflags.mk
dh $@ --with autoreconf
override_dh_autoreconf:
+ if [ ! -e po/ayatana-indicator-notifications.pot.bak ]; then \
+ cp po/ayatana-indicator-notifications.pot po/ayatana-indicator-notifications.pot.bak; \
+ fi
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
override_dh_auto_configure:
@@ -19,3 +22,9 @@ override_dh_auto_configure:
override_dh_auto_install:
dh_auto_install
find debian/ayatana-indicator-notifications -name \*.la -delete
+
+override_dh_auto_clean:
+ dh_auto_clean
+ if [ -e po/ayatana-indicator-notifications.pot.bak ]; then \
+ mv -f po/ayatana-indicator-notifications.pot.bak po/ayatana-indicator-notifications.pot; \
+ fi