File: rules

package info (click to toggle)
mecat2 0.0%2Bgit20200428.f54c542%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 334,420 kB
  • sloc: ansic: 26,531; cpp: 21,634; perl: 1,653; makefile: 326; sh: 221
file content (18 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

include /usr/share/dpkg/default.mk

# for hardening you might like to uncomment this:
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_install:
	dh_install
	sed 's/\#\!\/usr\/bin\/env perl/\#\!\/usr\/bin\/perl/' \
		debian/mecat2/usr/bin/mecat.pl > debian/mecat2/usr/bin/mecat
	rm -f debian/mecat2/usr/bin/mecat.pl