-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
@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