File: rules

package info (click to toggle)
cproto 4.7y-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,112 kB
  • sloc: ansic: 4,508; sh: 4,284; lex: 1,032; yacc: 924; makefile: 283
file content (21 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download | duplicates (4)
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

# 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 $@ --without autoreconf

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