File: rules

package info (click to toggle)
openconnect 9.01-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,568 kB
  • sloc: ansic: 40,003; sh: 6,685; xml: 3,571; python: 1,651; makefile: 972; java: 475
file content (28 lines) | stat: -rwxr-xr-x 678 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
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-dsa-tests \
		--htmldir=/usr/share/doc/openconnect/html \
		--with-gnutls \
		--without-gnutls-version-check \
		--with-vpnc-script=/usr/share/vpnc-scripts/vpnc-script
	$(MAKE) version.c
	sed -i -e 's|".*"|"v$(DEB_VERSION)"|' version.c

override_dh_installchangelogs:
	dh_installchangelogs www/changelog.html

override_dh_compress:
	dh_compress -Xhtml/changelog.html

# buildd's environment is sometimes broken and doesn't provide
# ipv4 localhost, so the tests cannot work
override_dh_auto_test: