From 0d943333b57c4fae1156b76fb1f040250d4190ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sandro=20Knau=C3=9F?= Date: Sat, 15 Feb 2025 03:23:23 +0100 Subject: [PATCH] rewrite block in d/rules {dh_override,execute_before}_dh_auto_build. --- debian/rules | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/debian/rules b/debian/rules index fef376d45..c8010a72b 100755 --- a/debian/rules +++ b/debian/rules @@ -22,14 +22,7 @@ override_dh_auto_configure: -DBUILD_WITH_WEBENGINE=$(BUILD_WEBENGINE) \ -DPLUGINDIR=/usr/lib/$(DEB_HOST_GNU_TYPE)/qt6/plugins \ -DEXTERNAL_VERSION=$(DEB_VERSION) - - -override_dh_auto_build-indep: - dh_auto_build -- -C shell_integration/nautilus - dh_auto_build -- doc-html - dh_auto_build # unfortunately we don't get icons and translations otherwise. - -override_dh_auto_build-arch: +execute_before_dh_auto_build-arch: dh_auto_build -- doc-man @echo "blhc: ignore-line-regexp: .*/CMakeCXXCompilerABI.cpp.*" #tests are not built with all hardening, to debug stuff more easily @@ -37,7 +30,11 @@ override_dh_auto_build-arch: @echo "blhc: ignore-line-regexp: .*/check_.*.dir/.*" @echo "blhc: ignore-line-regexp: .*/test/csync/torture_.*" @echo "blhc: ignore-line-regexp: .*/LargeSyncBench\.dir/.*" - dh_auto_build -- + +# unfortunately icons and translations are installed only together with the gui, so we need to run dh_auto_build +execute_before_dh_auto_build-indep: + dh_auto_build -- doc-html + dh_auto_build -- -C shell_integration/nautilus override_dh_auto_test-arch: mkdir -p obj-$(DEB_HOST_GNU_TYPE)/config -- 2.30.2