Setting using source directory once globaly and minimizing rules with that.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
23491264f3
commit
83e5d0509d
3 changed files with 3 additions and 15 deletions
1
debian/autoreconf
vendored
1
debian/autoreconf
vendored
|
@ -1 +0,0 @@
|
|||
tools
|
7
debian/libapache2-mod-qos.install
vendored
7
debian/libapache2-mod-qos.install
vendored
|
@ -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
10
debian/rules
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue