File: rules

package info (click to toggle)
carton 1.0.34-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 452 kB
  • sloc: perl: 1,202; makefile: 7
file content (11 lines) | stat: -rwxr-xr-x 202 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_install:
	dh_install
	sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/bin/$(PACKAGE)