File: rules

package info (click to toggle)
libio-aio-perl 4.80-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 980 kB
  • sloc: ansic: 5,001; perl: 601; makefile: 11; sh: 2
file content (17 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download | duplicates (3)
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=+all

%:
	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