File: rules

package info (click to toggle)
ppp-gatekeeper 0.1.0-201406111015-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 248 kB
  • sloc: perl: 1,228; sh: 103; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 649 bytes parent folder | download | duplicates (2)
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

SHELL := /bin/bash

%:
	dh $@

override_dh_install:
	dh_install
	install -d -m 0750 debian/ppp-gatekeeper/var/log/ppp-gatekeeper
	install -D -m 0640 ppp-gatekeeper.conf debian/ppp-gatekeeper/etc/ppp/ppp-gatekeeper.conf
	mv debian/ppp-gatekeeper/etc/modprobe.d/ppp-gatekeeper.{modprobe,conf}
	mv debian/ppp-gatekeeper/etc/dnsmasq.d/ppp-gatekeeper.{dnsmasq,conf}

override_dh_installinit:
	dh_installinit --no-start

override_dh_auto_build:
	docbook-to-man docs/ppp-gatekeeper.sgml > debian/ppp-gatekeeper.8
	dh_auto_build

override_dh_fixperms:
	dh_fixperms --exclude etc/ppp/ppp-gatekeeper.conf --exclude var/log/ppp-gatekeeper