Codebase list alex4 / a7e651b
Use debhelper 9 and associated hardening git-svn-id: file:///svn/pkg-games/packages/trunk/alex4@14618 8808ee5c-780a-0410-9abb-a8188df92ce5 Jackson Doak 10 years ago
4 changed file(s) with 14 addition(s) and 22 deletion(s). Raw diff Collapse all Expand all
0 alex4 (1.1-7) UNRELEASED; urgency=low
1
2 * debian/control:
3 - Bump debhelper to 9
4 - drop build-depends on hardening-includes
5 * debian/compat: set as 9
6 * debian/rules: Use simpler hardening commands
7
8 -- Jackson Doak <noskcaj@ubuntu.com> Fri, 27 Sep 2013 19:03:20 +1000
9
010 alex4 (1.1-6) unstable; urgency=low
111
212 * Team upload.
66 Paul Wise <pabs@debian.org>,
77 Peter Pentchev <roam@ringlet.net>
88 Build-Depends:
9 debhelper (>= 8),
9 debhelper (>= 9),
1010 dpkg-dev (>= 1.15.7~),
11 hardening-includes,
11 # hardening-includes,
1212 libaldmb1-dev,
1313 liballegro4-dev,
1414 libdumb1-dev
22 # Uncomment this to turn on verbose mode.
33 #export DH_VERBOSE=1
44
5 CFLAGS:= $(shell dpkg-buildflags --get CFLAGS)
6 CPPFLAGS:= $(shell dpkg-buildflags --get CPPFLAGS)
7 LDFLAGS:= $(shell dpkg-buildflags --get LDFLAGS)
8
9 CFLAGS+= -Wall -W -Wbad-function-cast \
10 -Wcast-align -Wcast-qual -Wchar-subscripts -Winline \
11 -Wnested-externs -Wpointer-arith \
12 -Wredundant-decls -Wwrite-strings
13 ifneq (,$(filter werror,$(DEB_BUILD_OPTIONS)))
14 CFLAGS+= -Werror
15 endif
16
17 include /usr/share/hardening-includes/hardening.make
18 ifeq (,$(filter nohardening,$(DEB_BUILD_OPTIONS)))
19 CFLAGS+= $(HARDENING_CFLAGS)
20 LDFLAGS+= $(HARDENING_LDFLAGS)
21 endif
22
23 export CPPFLAGS CFLAGS LDFLAGS
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
246
257 override_dh_auto_build:
268 dh_auto_build -D src -- DATADIR=/usr/share/games/alex4