File: rules

package info (click to toggle)
openconnect 8.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 8,988 kB
  • sloc: ansic: 30,408; sh: 6,017; xml: 2,975; python: 747; makefile: 740; java: 461
file content (24 lines) | stat: -rwxr-xr-x 548 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
#!/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