summaryrefslogtreecommitdiffstats
path: root/debian/lenny/libraries/kipi-plugins/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/lenny/libraries/kipi-plugins/debian/rules')
-rwxr-xr-xdebian/lenny/libraries/kipi-plugins/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/lenny/libraries/kipi-plugins/debian/rules b/debian/lenny/libraries/kipi-plugins/debian/rules
index 5177da213..c9f8bd279 100755
--- a/debian/lenny/libraries/kipi-plugins/debian/rules
+++ b/debian/lenny/libraries/kipi-plugins/debian/rules
@@ -20,6 +20,9 @@ DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed"
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
clean ::
rm -f po/*/*.gmo