File: rules

package info (click to toggle)
sbc 2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,816 kB
  • sloc: ansic: 5,346; sh: 4,360; makefile: 55
file content (17 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto

CONFIGURE_OPTION = --disable-tester --disable-silent-rules --enable-static
# for armhf arch
ifeq ($(DEB_HOST_ARCH),armhf)
CONFIGURE_OPTION += --enable-high-precision
endif

%:
	dh $@ --exclude=.la

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_OPTION)