File: rules

package info (click to toggle)
sniproxy 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 640 kB
  • sloc: ansic: 5,537; perl: 1,664; sh: 237; makefile: 128
file content (22 lines) | stat: -rwxr-xr-x 596 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

override_dh_auto_test:
	# don't run tests

override_dh_auto_install:
	dh_auto_install
	install -D -m 644 debian/sniproxy.conf debian/sniproxy/etc/sniproxy.conf
	install -D -m 644 debian/logrotate.conf debian/sniproxy/etc/logrotate.d/sniproxy.conf
	install -d -m 750 -o daemon -g adm debian/sniproxy/var/log/sniproxy

override_dh_installinit:
	dh_installinit --no-enable

%:
	dh $@ --with autoreconf