File: rules

package info (click to toggle)
dnscrypt-proxy 1.9.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,024 kB
  • ctags: 6,330
  • sloc: ansic: 56,543; sh: 4,846; python: 1,427; makefile: 750; ruby: 38
file content (33 lines) | stat: -rwxr-xr-x 789 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
33
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-systemd \
		--disable-ltdl-install \
		--without-included-ltdl \
		--enable-plugins

override_dh_install:
	dh_install
	install -m755 -d debian/dnscrypt-proxy/lib/systemd/system
	install -m644 -p debian/dnscrypt-proxy-resolvconf.service \
		debian/dnscrypt-proxy/lib/systemd/system
	sed -i "/dependency_libs/ s/'.*'/''/" \
		`find ./debian/dnscrypt-proxy-plugins -name '*.la'`

override_dh_installinit:
	dh_installinit --restart-after-upgrade

override_dh_systemd_start:
	dh_systemd_start --restart-after-upgrade

# Tests may fail on build servers and aren't useful in release builds anyway
override_dh_auto_test: