File: rules

package info (click to toggle)
cproto 4.7m-4
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 984 kB
  • sloc: ansic: 4,110; sh: 3,268; lex: 1,059; yacc: 870; makefile: 269
file content (22 lines) | stat: -rwxr-xr-x 429 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
#!/usr/bin/make -f

# Set to enable verbose output from debhelper
#export DH_VERBOSE=1

# Enable all hardening-related compiler options
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autotools_dev

override_dh_installdocs:
	dh_installdocs README

override_dh_auto_configure:
	dh_auto_configure -- --enable-llib

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	sh debian/smoketest
endif