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