File: rules

package info (click to toggle)
dnssec-trigger 0.13-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,696 kB
  • ctags: 1,521
  • sloc: ansic: 15,789; sh: 827; makefile: 467; xml: 444; objc: 421; cpp: 18
file content (32 lines) | stat: -rwxr-xr-x 918 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
30
31
32
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# To enable all, uncomment following line
export DEB_BUILD_MAINT_OPTIONS  = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -g -pipe $(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2)
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed

%:
	dh $@ --with autoreconf,systemd,python2

override_dh_auto_configure:
	dh_auto_configure -- \
		--libexecdir=/usr/lib/dnssec-trigger \
		--with-ssl \
		--with-hooks=networkmanager \
		--with-gui=gtk \
		--with-unitdir=/lib/systemd/system \
		--with-rundir=/run \
		--with-keydir=/etc/dnssec-trigger \
		--with-pidfile=/run/dnssec-triggerd.pid \
		--with-unbound-control=/usr/sbin/unbound-control

override_dh_auto_install:
	dh_auto_install
	find $(CURDIR) -type d -empty -delete

override_dh_installinit:
	dh_installinit --name=dnssec-triggerd