File: rules

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

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

TEST_FILES=$(filter-out t/pod.t t/pod_coverage.t,$(wildcard t/*.t))

%:
	dh $@

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

override_dh_auto_install:
	dh_auto_install
	file-rename 's/\.pl//' $(TMP)/usr/bin/* $(TMP)/usr/share/man/man1/*1p*
	sed -i '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/bin/*