summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/tdetoys/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/tdetoys/debian/rules')
-rwxr-xr-xubuntu/precise/tdetoys/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu/precise/tdetoys/debian/rules b/ubuntu/precise/tdetoys/debian/rules
index b9707dd97..da1268d9f 100755
--- a/ubuntu/precise/tdetoys/debian/rules
+++ b/ubuntu/precise/tdetoys/debian/rules
@@ -27,5 +27,8 @@ DEB_CMAKE_EXTRA_FLAGS := \
DEB_DH_STRIP_ARGS := --dbg-package=tdetoys-trinity-dbg
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
DEB_INSTALL_CHANGELOGS_kodo-trinity := kodo/ChangeLog
DEB_INSTALL_CHANGELOGS_kteatime-trinity := kteatime/ChangeLog