File: rules

package info (click to toggle)
baitfisher 1.2.7%2Bgit20211020.de26d5c%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 28,232 kB
  • sloc: cpp: 30,737; makefile: 30; sh: 27
file content (24 lines) | stat: -rwxr-xr-x 678 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_install:
	cp BaitFilter-v* debian/baitfisher/usr/bin/BaitFilter
	cp BaitFisher-v* debian/baitfisher/usr/bin/BaitFisher
	dh_install
	for sh in `grep -Rl '#!/usr/bin/bash' debian/*/usr/*` ; do \
	    sed -i '1s?^#!/usr/bin/bash?#!/bin/bash?' $${sh} ; \
	done

override_dh_installman:
	help2man --no-discard-stderr -o BaitFilter.1 ./BaitFilter-v*
	help2man --no-discard-stderr -o BaitFisher.1 ./BaitFisher-v*
	dh_installman