File: rules

package info (click to toggle)
saint 2.5.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 1,136 kB
  • sloc: ansic: 10,584; makefile: 65; sh: 20
file content (14 lines) | stat: -rwxr-xr-x 275 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build:
	# Tweak hardening flags into the Makefile
	dh_auto_build --no-parallel -- all CFLAGS='$(CPPFLAGS) $(CFLAGS) $(LDFLAGS)'

override_dh_auto_clean:
	dh_auto_clean
	rm -rf bin