summaryrefslogtreecommitdiffstats
path: root/debian/wheezy/tdegames
diff options
context:
space:
mode:
Diffstat (limited to 'debian/wheezy/tdegames')
-rwxr-xr-xdebian/wheezy/tdegames/debian/rules3
-rw-r--r--debian/wheezy/tdegames/debian/source/options4
2 files changed, 5 insertions, 2 deletions
diff --git a/debian/wheezy/tdegames/debian/rules b/debian/wheezy/tdegames/debian/rules
index a979e0440..085eb8404 100755
--- a/debian/wheezy/tdegames/debian/rules
+++ b/debian/wheezy/tdegames/debian/rules
@@ -26,6 +26,9 @@ DEB_INSTALL_CHANGELOGS_ALL = $(shell for f in ChangeLog CHANGELOG CHANGES; do if
DEB_INSTALL_CHANGELOGS_tdegames := $(DEB_SRCDIR)/ChangeLog
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
DEB_DH_MAKESHLIBS_ARGS_libtdegames1-trinity := -V'libtdegames1-trinity'
DEB_DH_MAKESHLIBS_ARGS_atlantik-trinity := -V
DEB_DH_MAKESHLIBS_ARGS_kolf-trinity := -V
diff --git a/debian/wheezy/tdegames/debian/source/options b/debian/wheezy/tdegames/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/debian/wheezy/tdegames/debian/source/options
+++ b/debian/wheezy/tdegames/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences