From: Sandro Knauß Date: Sat, 15 Feb 2025 02:23:23 +0000 (+0100) Subject: rewrite block in d/rules {dh_override,execute_before}_dh_auto_build. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0d943333b57c4fae1156b76fb1f040250d4190ec;p=nextcloud-desktop.git rewrite block in d/rules {dh_override,execute_before}_dh_auto_build. --- 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