summaryrefslogtreecommitdiffstats
path: root/debian/wheezy/metapackages/meta-tde
diff options
context:
space:
mode:
Diffstat (limited to 'debian/wheezy/metapackages/meta-tde')
-rwxr-xr-xdebian/wheezy/metapackages/meta-tde/debian/rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/wheezy/metapackages/meta-tde/debian/rules b/debian/wheezy/metapackages/meta-tde/debian/rules
index 07666d506..a3fbf99a7 100755
--- a/debian/wheezy/metapackages/meta-tde/debian/rules
+++ b/debian/wheezy/metapackages/meta-tde/debian/rules
@@ -2,6 +2,9 @@
#export DH_VERBOSE=1
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
configure: configure-stamp
configure-stamp:
dh_testdir
@@ -46,7 +49,7 @@ binary-indep: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure