File: rules

package info (click to toggle)
open-adventure 1.4%2Bgit20170917.0.d512384-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,036 kB
  • sloc: ansic: 3,333; python: 685; makefile: 171; sh: 1
file content (21 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# package maintainers to append LDFLAGS
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

# The package fails to build in Ubuntu, because the Ubuntu
# autobuilders run with a $TERM value of 'unknown', and the
# open-adventure testsuite doesn't like this. Setting $TERM
# to a known-good value makes the package build more portable.
# See https://bugs.debian.org/889519
export TERM=xterm

%:
	dh $@

override_dh_installman:
	make advent.6
	dh_installman