File: rules

package info (click to toggle)
complexity 1.10%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,704 kB
  • sloc: sh: 5,111; ansic: 1,936; makefile: 96
file content (20 lines) | stat: -rwxr-xr-x 740 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk

%:
	dh $@  --with autoreconf

override_dh_autoreconf:
	## This is unfortunate, but we are forced to invoke gnulib-tool manually
	## and list modules here, since bootstrap script assumes presence of git
	## and network connection, and policy is to avoid bundled copies of
	## another project code.
	gnulib-tool --import close fdl gendocs gpl-3.0 malloc-posix snprintf stdbool
	## liboptschk.m4 was bundled m4/ alongside with gnulib macros,
	## but we dropped it. This way is even better, since we for sure get
	## the newest version of liboptschk.m4.
	ln -s /usr/share/autogen/liboptschk.m4 m4/
	dh_autoreconf