summaryrefslogtreecommitdiffstats
path: root/debian/wheezy/tdeaddons/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/wheezy/tdeaddons/debian/rules')
-rwxr-xr-xdebian/wheezy/tdeaddons/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/wheezy/tdeaddons/debian/rules b/debian/wheezy/tdeaddons/debian/rules
index 5d337bfab..e2158a506 100755
--- a/debian/wheezy/tdeaddons/debian/rules
+++ b/debian/wheezy/tdeaddons/debian/rules
@@ -16,6 +16,9 @@ DEB_CONFIGURE_EXTRA_FLAGS := --without-xmms --prefix=/opt/trinity --with-extra-l
DEB_DH_STRIP_ARGS := --dbg-package=tdeaddons-trinity-dbg
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
DOC_HTML_PRUNE := konq-plugins-trinity/smbmounter
binary-install/konq-plugins-trinity::