File: rules

package info (click to toggle)
libio-async-perl 0.77-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,132 kB
  • sloc: perl: 13,626; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 380 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

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)
EXAMPLES= $(TMP)/usr/share/doc/$(PACKAGE)/examples

# Test needs working resolver
TEST_FILES = $(filter-out t/50resolver.t,$(wildcard t/*.t))

%:
	dh $@

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

override_dh_fixperms:
	dh_fixperms
	chmod a+x $(EXAMPLES)/*.pl