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 DESTDIR=`pwd`/debian/tmp
36 mkdir -p `pwd`/debian/tmp/etc/tinc/example
37 cp doc/tinc.conf.sample `pwd`/debian/tmp/etc/tinc/example/tinc.conf
38 ln -s /usr/share/doc/tinc/README.Debian `pwd`/debian/tmp/etc/tinc/example/README
39 rm -f `pwd`/debian/tmp/usr/lib/tinc/libblowfish.so
42 # Build architecture-independent files here.
43 binary-indep: build install
44 # We have nothing to do by default.
46 # Build architecture-dependent files here.
47 binary-arch: build install
62 dh_installchangelogs ChangeLog
67 # # You may want to make some executables suid here.
77 binary: binary-indep binary-arch
78 .PHONY: build clean binary-indep binary-arch binary install