File: rules

package info (click to toggle)
snarf 7.0-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 504 kB
  • sloc: ansic: 3,464; sh: 329; makefile: 62
file content (15 lines) | stat: -rwxr-xr-x 483 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic

# snarf's configure is too old to understand the '--host' switch used by
# dh_auto_configure to cross-build from source. The following two lines define
# the right variables for host tools and export CC, making configure use the
# right compiler. See http://bugs.debian.org/941679.
-include /usr/share/dpkg/buildtools.mk
export CC

%:
	dh $@