File: rules

package info (click to toggle)
scamper 20191102-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 9,044 kB
  • sloc: ansic: 103,723; sh: 4,155; makefile: 468; perl: 186
file content (24 lines) | stat: -rwxr-xr-x 556 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
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Debhelper does all the magic for us :)
%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	dh_autoreconf ./bootstrap.pl

override_dh_fixperms:
	dh_fixperms
	# Scamper binary needs setuid.
	chmod 4755 debian/scamper/usr/bin/scamper

# sc_wartsfix has no manpage and limited utility.
# sc_warts2csv has no manpage and limited utility.
# don't ship it.
override_dh_auto_install:
	dh_auto_install
	rm debian/tmp/usr/bin/sc_wartsfix
	rm debian/tmp/usr/bin/sc_warts2csv