File: rules

package info (click to toggle)
libapache-ssllookup-perl 2.00-04-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 220 kB
  • sloc: perl: 209; makefile: 11; ansic: 10; sh: 5
file content (17 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

APR_INC := $(shell /usr/bin/apr-config --includedir)

override_dh_auto_build:
	dh_auto_build -- C_INCLUDE_PATH="$(APR_INC)"

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	APACHE_TEST_EXTRA_ARGS="-httpd_conf $(CURDIR)/debian/apache2.conf" \
                dh_auto_test
endif

%:
	dh $@