summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/tdebindings/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/tdebindings/debian/rules')
-rwxr-xr-xubuntu/precise/tdebindings/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu/precise/tdebindings/debian/rules b/ubuntu/precise/tdebindings/debian/rules
index 6a0e11dc7..b503f7580 100755
--- a/ubuntu/precise/tdebindings/debian/rules
+++ b/ubuntu/precise/tdebindings/debian/rules
@@ -35,6 +35,9 @@ DEB_CONFIGURE_EXTRA_FLAGS = $(WITH_JAVA) \
DEB_COMPRESS_EXCLUDE += .java .ui .js .rb .map .wav .bmp .cpp .sk
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are not all the packages with libraries, but only those that
# need to be in DEB_SHLIBDEPS_INCLUDE...
PACKAGES_WITH_LIBS = libqt3-jni-trinity libsmokeqt1-trinity libsmokekde1-trinity libkjsembed1-trinity