From 9d3383e08b912b24c8a34c0dfbecedbd9df5f9ad Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Mar 2025 14:50:17 +0100 Subject: [PATCH] Harmonizing rules file. Signed-off-by: Daniel Baumann --- debian/rules | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/debian/rules b/debian/rules index 56dc601..a8d1f40 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,14 @@ export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow %: - dh $@ --with apache2,autoreconf + dh ${@} --with apache2,autoreconf + +override_dh_auto_clean: + dh_auto_clean --sourcedirectory=tools + +execute_after_dh_auto_clean: + rm -f apache2/mod_qos.*l* apache2/mod_qos.o + rm -rf apache2/.libs/ override_dh_auto_configure: dh_auto_configure --sourcedirectory=tools -- \ @@ -19,9 +26,3 @@ override_dh_auto_build: -D_LARGEFILE64_SOURCE $(CPPFLAGS)" \ -lcrypto -DHAVE_OPENSSL -c apache2/mod_qos.c dh_auto_build --sourcedirectory=tools - -override_dh_auto_clean: - dh_auto_clean --sourcedirectory=tools - dh_clean apache2/.libs/* apache2/mod_qos.*l* apache2/mod_qos.o - rm -rf apache2/.libs/ -