File: rules

package info (click to toggle)
wide-dhcpv6 20080615-19
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,292 kB
  • ctags: 5,122
  • sloc: ansic: 14,826; yacc: 1,108; sh: 615; lex: 468; makefile: 103
file content (24 lines) | stat: -rwxr-xr-x 643 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
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

# Security Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	./configure --prefix=/usr --mandir=\$${prefix}/share/man \
		--with-localdbdir=/var/lib/dhcpv6 --sysconfdir=/etc/wide-dhcpv6

override_dh_auto_install:
	$(MAKE) prefix=$(CURDIR)/debian/tmp/usr install

override_dh_installinit:
	dh_installinit --error-handler=true --restart-after-upgrade

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/wide-dhcpv6-client/etc/wide-dhcpv6/dhcp6c-*