summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/kbookreader/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/applications/kbookreader/debian/rules')
-rwxr-xr-xubuntu/precise/applications/kbookreader/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu/precise/applications/kbookreader/debian/rules b/ubuntu/precise/applications/kbookreader/debian/rules
index 6f4a82d1b..53794c4fe 100755
--- a/ubuntu/precise/applications/kbookreader/debian/rules
+++ b/ubuntu/precise/applications/kbookreader/debian/rules
@@ -13,6 +13,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --includedir="/opt/trinity/include/tde" --mandir="/opt/trinity/share/man" --infodir="/opt/trinity/share/info"
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap: