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/tdegraphics/debian/rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ubuntu/precise/tdegraphics/debian') diff --git a/ubuntu/precise/tdegraphics/debian/rules b/ubuntu/precise/tdegraphics/debian/rules index 927f3faf8..9aedb5fcf 100755 --- a/ubuntu/precise/tdegraphics/debian/rules +++ b/ubuntu/precise/tdegraphics/debian/rules @@ -24,6 +24,9 @@ DEB_BUILD_PARALLEL = true DEB_DH_STRIP_ARGS := --dbg-package=tdegraphics-trinity-dbg +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + PACKAGES_WITH_LIBS := kfaxview-trinity kghostview-trinity kmrml-trinity kpovmodeler-trinity ksvg-trinity \ kuickshow-trinity kview-trinity kviewshell-trinity libkscan1-trinity -- cgit v1.2.1