File: rules

package info (click to toggle)
farbfeld 4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 196 kB
  • sloc: ansic: 622; sh: 65; makefile: 59
file content (17 lines) | stat: -rwxr-xr-x 537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# https://wiki.debian.org/HardeningWalkthrough
export DEB_BUILD_MAINT_OPTIONS  = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND  = -Os -Wall -pedantic

# --as-needed breaks the build of the package, so let's turn it off
# explicitly. This is not needed in Debian, but the default may change.
# Ubuntu already defaults to --as-needed, so disabling it makes the
# package build there unmodified.
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed

%:
	dh $@

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr