File: rules

package info (click to toggle)
libapp-options-perl 1.12-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 284 kB
  • ctags: 22
  • sloc: perl: 1,271; sh: 256; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_installexamples:
	dh_installexamples
	find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \
		xargs -r0 sed -i -e '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|'