File: rules

package info (click to toggle)
libffi-platypus-perl 1.34-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,344 kB
  • sloc: perl: 6,999; ansic: 6,637; cpp: 53; makefile: 13; sh: 13
file content (21 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- V=1

override_dh_auto_install:
	dh_auto_install
	# contentless manpage
	$(RM) -v $(TMP)/usr/share/man/man3/FFI::Platypus::ShareConfig.3pm

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