From 83e5d0509dc84acdb9fd2d92936deafb238e0d1a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Mar 2025 14:50:17 +0100 Subject: [PATCH] Setting using source directory once globaly and minimizing rules with that. Signed-off-by: Daniel Baumann --- debian/autoreconf | 1 - debian/libapache2-mod-qos.install | 7 ------- debian/rules | 10 +++------- 3 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 debian/autoreconf delete mode 100644 debian/libapache2-mod-qos.install diff --git a/debian/autoreconf b/debian/autoreconf deleted file mode 100644 index ef1aab0..0000000 --- a/debian/autoreconf +++ /dev/null @@ -1 +0,0 @@ -tools diff --git a/debian/libapache2-mod-qos.install b/debian/libapache2-mod-qos.install deleted file mode 100644 index e38e0d8..0000000 --- a/debian/libapache2-mod-qos.install +++ /dev/null @@ -1,7 +0,0 @@ -tools/src/qsexec usr/bin -tools/src/qsgrep usr/bin -tools/src/qslog usr/bin -tools/src/qslogger usr/bin -tools/src/qspng usr/bin -tools/src/qssign usr/bin -tools/src/qstail usr/bin diff --git a/debian/rules b/debian/rules index a8d1f40..d9f44eb 100755 --- a/debian/rules +++ b/debian/rules @@ -3,26 +3,22 @@ export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow %: - dh ${@} --with apache2,autoreconf - -override_dh_auto_clean: - dh_auto_clean --sourcedirectory=tools + dh ${@} --sourcedirectory=tools --with apache2 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 -- \ + dh_auto_configure -- \ --with-apr=/usr/bin \ --with-apr-util=/usr/bin \ --with-pcre=/usr/bin \ --with-png=/usr/bin \ --with-ssl=/usr/lib -override_dh_auto_build: +execute_after_dh_auto_build: LTFLAGS="--no-silent" apxs2 \ -S CFLAGS="$(CFLAGS) \ -D_LARGEFILE64_SOURCE $(CPPFLAGS)" \ -lcrypto -DHAVE_OPENSSL -c apache2/mod_qos.c - dh_auto_build --sourcedirectory=tools