summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/kvirc/debian
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/applications/kvirc/debian')
-rwxr-xr-xubuntu/precise/applications/kvirc/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu/precise/applications/kvirc/debian/rules b/ubuntu/precise/applications/kvirc/debian/rules
index 665c61d25..fd45d5925 100755
--- a/ubuntu/precise/applications/kvirc/debian/rules
+++ b/ubuntu/precise/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
#