summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-15 09:41:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-15 09:41:35 +0000
commit41ac052b6981ceb7cd85fb2a60e0bed978cbc899 (patch)
tree36737e756d5385eb41b2071af8074f7d82f74110 /debian/rules
parentMerging upstream version 5.6.2. (diff)
downloadxz-utils-41ac052b6981ceb7cd85fb2a60e0bed978cbc899.tar.xz
xz-utils-41ac052b6981ceb7cd85fb2a60e0bed978cbc899.zip
Adding debian version 5.6.2-1.debian/5.6.2-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules21
1 files changed, 16 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 5786bae..04c3c29 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,24 +5,23 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
dh $@ $(opt_no_act)
override_dh_auto_clean:
- if [ -f doc/api.backup.done ]; then rm -rf doc/api; mv doc/api.backup doc/api; rm doc/api.backup.done; else rm -rf doc/api.backup*; fi
dh_auto_clean --builddirectory debian/xzdec-build
dh_auto_clean --builddirectory debian/normal-build
dh_auto_clean --builddirectory debian/static-build
override_dh_auto_install-indep:
+ dh_auto_install --builddirectory debian/normal-build
override_dh_auto_install-arch:
dh_auto_install --builddirectory debian/xzdec-build
- dh_auto_install --builddirectory debian/normal-build
dh_auto_install --builddirectory debian/static-build
+ dh_auto_install --builddirectory debian/normal-build
override_dh_installchangelogs:
dh_installchangelogs ChangeLog
override_dh_auto_build-indep:
- if [ ! -d doc/api.backup ]; then cp --reflink=auto -ra doc/api doc/api.backup; touch doc/api.backup.done; fi
- cd doxygen && sh update-doxygen
+ dh_auto_install --builddirectory debian/normal-build
override_dh_auto_build-arch:
dh_auto_build --builddirectory debian/normal-build
@@ -43,7 +42,19 @@ else
dh_auto_test --builddirectory debian/xzdec-build
endif
-override_dh_auto_configure:
+override_dh_auto_configure-indep:
+ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ @echo Skipping docs
+else
+ dh_auto_configure --builddirectory debian/normal-build -- \
+ $(opt_reproduce) \
+ --enable-threads --disable-static \
+ $(opt_optimize) $(opt_quiet) \
+ --enable-doxygen \
+ --disable-xzdec --disable-lzmadec
+endif
+
+override_dh_auto_configure-arch:
dh_auto_configure --builddirectory debian/normal-build -- \
$(opt_reproduce) \
--enable-threads --disable-static \