File: rules

package info (click to toggle)
libio-aio-perl 4.72-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 996 kB
  • sloc: ansic: 4,374; perl: 583; makefile: 11; sh: 2
file content (17 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

PKG  := $(shell dh_listpackages)
TMP  := $(CURDIR)/debian/$(PKG)

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@ --buildsystem=perl_makemaker

override_dh_auto_configure:
	perl $(CURDIR)/gendef0
	dh_auto_configure

override_dh_auto_install:
	dh_auto_install
	sed -i -e 's|^#!/opt/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/bin/treescan