File: rules

package info (click to toggle)
hping3 3.a2.ds2-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,068 kB
  • sloc: ansic: 11,628; sh: 129; makefile: 76
file content (20 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	MANPATH=/usr/share/man ./configure

override_dh_installman:
	dh_installman
	mkdir --parents $(CURDIR)/debian/hping3/usr/share/man/fr/man8
	iconv -t UTF-8 -c $(CURDIR)/docs/french/hping2-fr.8 \
	| gzip -9 --stdout - > $(CURDIR)/debian/hping3/usr/share/man/fr/man8/hping3.8.gz

# do not compress example TCL scripts
override_dh_compress:
	dh_compress --exclude=.htcl

%:
	dh $@