summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/kipi-plugins/debian
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/libraries/kipi-plugins/debian')
-rwxr-xr-xubuntu/maverick/libraries/kipi-plugins/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu/maverick/libraries/kipi-plugins/debian/rules b/ubuntu/maverick/libraries/kipi-plugins/debian/rules
index 5177da213..c9f8bd279 100755
--- a/ubuntu/maverick/libraries/kipi-plugins/debian/rules
+++ b/ubuntu/maverick/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