File: rules

package info (click to toggle)
hexer 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 716 kB
  • ctags: 939
  • sloc: ansic: 11,429; makefile: 120
file content (23 lines) | stat: -rwxr-xr-x 697 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
22
23
#!/usr/bin/make -f
# debhelper rules file for hexer.

# Aim for the top, adapt if anything should break on the buildds.
DEB_BUILD_MAINT_OPTIONS=	hardening=+all
export DEB_BUILD_MAINT_OPTIONS

DEB_CFLAGS_MAINT_APPEND=	-pipe -std=c99 \
		-Wall -W -pedantic -Wbad-function-cast \
		-Wcast-align -Wcast-qual -Winline \
		-Wmissing-prototypes -Wnested-externs \
		-Wredundant-decls -Wstrict-prototypes -Wwrite-strings
DEB_CPPFLAGS_MAINT_APPEND=	-DHE_DEFAULT_PAGER=\"pager\"
export DEB_CPPFLAGS_MAINT_APPEND DEB_CFLAGS_MAINT_APPEND

DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
export DEB_LDFLAGS_MAINT_APPEND

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr MANDIR=/usr/share/man/man1

%:
	dh $@