File: rules

package info (click to toggle)
libmodule-signature-perl 0.83-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324 kB
  • sloc: perl: 2,111; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 394 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip)
TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))

BUILDHOME = $(CURDIR)/debian/build

%:
	dh $@

override_dh_clean:
	dh_clean
	rm -rf $(BUILDHOME)

override_dh_auto_configure:
	mkdir -p $(BUILDHOME)
	HOME=$(BUILDHOME) dh_auto_configure

override_dh_auto_test:
	dh_auto_test -- TEST_FILES="$(TEST_FILES)"