File: rules

package info (click to toggle)
libcpan-audit-perl 0.15-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,296 kB
  • sloc: perl: 29,436; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 312 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	# fix hashbang
	sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/bin/*
	# remove empty manpages
	find $(TMP)/usr/share/man/man3 -type f -empty -delete