File: rules

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

BUILDHOME := $(CURDIR)/debian/build

%:
	dh $@

override_dh_clean:
	dh_clean
	rm -rf $(BUILDHOME)
	rm -rf $(CURDIR)/t/logs

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