3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
9 # Uncomment this to turn on verbose mode.
24 dh_installdirs usr/sbin/ etc
26 install -m 755 policy-rc.d debian/grml-policyrcd/usr/sbin/policy-rc.d
27 install -m 644 policy-rc.d.conf debian/grml-policyrcd/etc/policy-rc.d.conf
29 # Build architecture-dependent files here.
30 binary-arch: build install
31 # We have nothing to do by default.
33 # Build architecture-independent files here.
34 binary-indep: build install
40 dh_installman policy-rc.d.8
41 # for backwards compatibility:
42 dh_link /usr/sbin/policy-rc.d /usr/sbin/grml-policy-rc.d
43 dh_link /usr/share/man/man8/policy-rc.d.8.gz /usr/share/man/man8/grml-policy-rc.d.8.gz
53 binary: binary-indep binary-arch
54 .PHONY: build clean binary-indep binary-arch binary install