File: rules

package info (click to toggle)
libio-aio-perl 4.75-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,036 kB
  • sloc: ansic: 4,664; perl: 597; 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