File: rules

package info (click to toggle)
volumeicon 0.5.1+git20170117-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 544 kB
  • ctags: 313
  • sloc: ansic: 2,610; makefile: 48; sh: 17
file content (17 lines) | stat: -rwxr-xr-x 469 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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

LDFLAGS+=-Wl,--as-needed

%:
	dh $@ --parallel --with autoreconf

DH_AS_NEEDED=$(shell dpkg --compare-versions $$(dpkg --status dh-autoreconf | grep Version | cut -d' ' -f2) ge 6 && echo --as-needed)
override_dh_autoreconf:
	[ ! -x "./autogen.sh" ] || ./autogen.sh
	intltoolize --automake --copy --force
	dh_autoreconf $(DH_AS_NEEDED)

override_dh_auto_configure:
	dh_auto_configure -- --enable-notify