From 41ac052b6981ceb7cd85fb2a60e0bed978cbc899 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 15 Jun 2024 11:41:35 +0200 Subject: Adding debian version 5.6.2-1. Signed-off-by: Daniel Baumann --- debian/rules | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'debian/rules') 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 \ -- cgit v1.2.3