File: rules

package info (click to toggle)
libvariable-magic-perl 0.62-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 468 kB
  • sloc: perl: 4,243; ansic: 633; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

PKG=$(shell dh_listpackages)

%:
	dh $@

override_dh_installexamples:
	dh_installexamples
	find $(CURDIR)/debian/$(PKG)/usr/share/doc/$(PKG)/examples -type f \
		-exec sed -i -e 's;^#.*perl;#!/usr/bin/perl;' {} +