File: rules

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

BUILDHOME = $(CURDIR)/debian/build

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

%:
	dh $@

override_dh_clean:
	dh_clean
	rm -rf $(BUILDHOME)

override_dh_auto_test:
	mkdir -p $(BUILDHOME)
	HOME=$(BUILDHOME) dh_auto_test -- TEST_FILES="$(TEST_FILES)"