File: rules

package info (click to toggle)
runlim 1.10-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 200 kB
  • sloc: ansic: 1,511; sh: 53; makefile: 18
file content (26 lines) | stat: -rwxr-xr-x 505 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

#
# export CFLAGS and LDFLAGS for configure
#
# add -O3 and NDEBUG and enable all hardening flags
#
DEB_CFLAGS_MAINT_APPEND = -O3 -DNDEBUG
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

# inject CPPFLAGS to CFLAGS
CFLAGS += $(CPPFLAGS)

%:
	dh $@

# install NEWS as changelog
override_dh_installchangelogs:
	dh_installchangelogs NEWS