File: rules

package info (click to toggle)
zvbi 0.2.44-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,696 kB
  • sloc: ansic: 66,987; xml: 6,135; cpp: 5,752; sh: 1,629; makefile: 616; perl: 524; sed: 16
file content (29 lines) | stat: -rwxr-xr-x 750 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
23
24
25
26
27
28
29
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -ldl

export PVER=$(shell dpkg-parsechangelog --show-field version | cut -d"-" -f1)

%:
	dh $@

override_dh_autoreconf:
	./autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- --enable-proxy

override_dh_installdocs:
	dh_installdocs -A README.md TODO NEWS AUTHORS

override_dh_makeshlibs:
	dh_makeshlibs -- -v$(PVER) -q

execute_before_dh_clean:
	find . -name Makefile.in -exec rm -f {} \;
	rm -f m4/*.m4
	rm -f config.h.in aclocal.m4 INSTALL
	rm -f build-aux/compile build-aux/config.guess build-aux/config.sub build-aux/depcomp
	rm -f build-aux/install-sh build-aux/ltmain.sh build-aux/test-driver build-aux/missing