File: rules

package info (click to toggle)
libnet-http-perl 6.23-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: perl: 856; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 422 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

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	# empty/boilerplate manpage
	$(RM) -v $(TMP)/usr/share/man/man3/Net::HTTP::Methods.3pm

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