2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
8 # This is the debhelper compatability version to use.
15 ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc
35 $(MAKE) install prefix=`pwd`/debian/tmp/usr
36 mkdir -p `pwd`/debian/tmp/etc/tinc
37 cp doc/tincd.conf.sample `pwd`/debian/tmp/etc/tinc/tincd.conf
40 # Build architecture-independent files here.
41 binary-indep: build install
42 # We have nothing to do by default.
44 # Build architecture-dependent files here.
45 binary-arch: build install
60 dh_installchangelogs ChangeLog
65 # You may want to make some executables suid here.
75 binary: binary-indep binary-arch
76 .PHONY: build clean binary-indep binary-arch binary install