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