1
0
Fork 0

Setting using source directory once globaly and minimizing rules with that.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-03-24 14:50:17 +01:00
parent 23491264f3
commit 83e5d0509d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 3 additions and 15 deletions

1
debian/autoreconf vendored
View file

@ -1 +0,0 @@
tools

View file

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

10
debian/rules vendored
View file

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