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
|