File: rules

package info (click to toggle)
libemail-address-perl 1.895-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 452 kB
  • sloc: perl: 276; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_installexamples:
	dh_installexamples
	sed -i '1s|^#!/usr/local/bin/perl;|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/bench/*

override_dh_builddeb:
	dh_builddeb -- -Zxz