summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/libtqt-perl/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/libraries/libtqt-perl/debian/rules')
-rwxr-xr-xubuntu/maverick/libraries/libtqt-perl/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu/maverick/libraries/libtqt-perl/debian/rules b/ubuntu/maverick/libraries/libtqt-perl/debian/rules
index 7bf57d40b..1d77c70fc 100755
--- a/ubuntu/maverick/libraries/libtqt-perl/debian/rules
+++ b/ubuntu/maverick/libraries/libtqt-perl/debian/rules
@@ -32,6 +32,9 @@ DEB_MAKE_INSTALL_TARGET := install \
PREFIX=$(CURDIR)/debian/libtqt-perl/usr \
SITEPREFIX=$(CURDIR)/debian/libtqt-perl/usr \
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
pre-build:: pre-build-stamp
pre-build-stamp: