1
0
Fork 0
mod-qos/debian/rules
Daniel Baumann 0172bb35a0
Including upstream changelog in doc directory.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-03-24 14:47:40 +01:00

19 lines
469 B
Makefile
Executable file

#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
%:
dh ${@} --sourcedirectory=tools --with apache2
execute_after_dh_auto_clean:
rm -f apache2/mod_qos.*l* apache2/mod_qos.o
rm -rf apache2/.libs/
execute_after_dh_auto_build:
LTFLAGS="--no-silent" apxs2 \
-S CFLAGS="$(CFLAGS) \
-D_LARGEFILE64_SOURCE $(CPPFLAGS)" \
-lcrypto -DHAVE_OPENSSL -c apache2/mod_qos.c
override_dh_installchangelog:
dh_installchangelog doc/CHANGES.txt