From e12b7beacb145e0359e66ec5d4cfc0494d3ca908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 11 Dec 2012 03:02:18 +0100 Subject: Use xz (or bzip2) compression for Debian and Ubuntu binary packages --- ubuntu/precise/tdebindings/debian/rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ubuntu/precise/tdebindings') 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 -- cgit v1.2.1