File: rules

package info (click to toggle)
gadmin-openvpn-client 0.1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 1,508 kB
  • ctags: 443
  • sloc: ansic: 4,532; sh: 3,215; makefile: 112
file content (21 lines) | stat: -rwxr-xr-x 558 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	rm -f po/*.gmo

override_dh_auto_configure:
	dh_auto_configure -- SYSINIT_START_CMD="update-rc.d -f gadmin-openvpn-client defaults" SYSINIT_STOP_CMD="update-rc.d -f gadmin-openvpn-client remove"

override_dh_auto_install:
	dh_auto_install
	# unnecessary doc files installed by upstream Makefile
	rm -rf debian/gadmin-openvpn-client/usr/share/doc/

override_dh_strip:
	dh_strip --dbgsym-migration='gadmin-openvpn-client-dbg (<< 0.1.9-1~)'