summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/dependencies/dbus-tqt/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/dependencies/dbus-tqt/debian/rules')
-rwxr-xr-xubuntu/precise/dependencies/dbus-tqt/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu/precise/dependencies/dbus-tqt/debian/rules b/ubuntu/precise/dependencies/dbus-tqt/debian/rules
index 894533134..a59bed76e 100755
--- a/ubuntu/precise/dependencies/dbus-tqt/debian/rules
+++ b/ubuntu/precise/dependencies/dbus-tqt/debian/rules
@@ -10,3 +10,6 @@ include /usr/share/cdbs/1/class/cmake.mk
# Strict library versioning
DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)