From 7340464969d00774a0e5d290e263dbae85b8a988 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 18 Mar 2018 15:05:05 +0100 Subject: debian/rules: Keep .pot file in po/ after dh_auto_clean. Work around for flawed gettext autotools integration it seems. --- debian/rules | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'debian') 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 -- cgit v1.2.3