File: rules

package info (click to toggle)
libapache-authenhook-perl 2.00-04%2Bpristine-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 236 kB
  • sloc: perl: 182; makefile: 13; sh: 11
file content (18 lines) | stat: -rwxr-xr-x 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_clean:
	dh_clean
	$(RM) -r $(CURDIR)/t/logs $(CURDIR)/t/run
override_dh_auto_configure:
	dh_auto_configure -- OPTIMIZE="$(CFLAGS) $(CPPFLAGS) $(shell apr-1-config --includes) $(shell apr-1-config --cflags)"

override_dh_auto_test:
	mkdir -p $(CURDIR)/t/logs
	mkdir -p $(CURDIR)/t/run
	APACHE_TEST_EXTRA_ARGS="-httpd_conf $(CURDIR)/debian/apache2.conf" \
		dh_auto_test