File: rules

package info (click to toggle)
libjson-xs-perl 3.030-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 508 kB
  • ctags: 6
  • sloc: perl: 521; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 293 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

%:
	dh $@

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