diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-15 09:45:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-15 09:45:07 +0000 |
commit | b8fa2ec90a86557ac5da082deb075ab2a487ed84 (patch) | |
tree | 2c847f2d3b9c3b2cf8a826e31e2668324b49afc8 /debian/rules | |
parent | Merging upstream version 5.6.2. (diff) | |
download | xz-utils-b8fa2ec90a86557ac5da082deb075ab2a487ed84.tar.xz xz-utils-b8fa2ec90a86557ac5da082deb075ab2a487ed84.zip |
Merging debian version 5.6.2-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 21 |
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 \ |