File: rules

package info (click to toggle)
libffi-platypus-perl 0.45-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,232 kB
  • ctags: 1,544
  • sloc: ansic: 5,179; perl: 2,944; makefile: 21; cpp: 16; java: 11; sh: 3
file content (13 lines) | stat: -rwxr-xr-x 291 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

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