summaryrefslogtreecommitdiffstats
path: root/debian/wheezy/applications/kvirc/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/wheezy/applications/kvirc/debian/rules')
-rwxr-xr-xdebian/wheezy/applications/kvirc/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/wheezy/applications/kvirc/debian/rules b/debian/wheezy/applications/kvirc/debian/rules
index 665c61d25..fd45d5925 100755
--- a/debian/wheezy/applications/kvirc/debian/rules
+++ b/debian/wheezy/applications/kvirc/debian/rules
@@ -49,6 +49,9 @@ endif
#
DEB_COMPRESS_EXCLUDE := .kvs
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
#
# Run dh_shlibdeps with the correct options
#