2 # Made with the aid of dh_make, by Craig Small
3 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
4 # Some lines taken from debmake, by Cristoph Lameter.
6 # Uncomment this to turn on verbose mode.
9 build: build-arch build-indep
10 build-arch: build-stamp
11 build-indep: build-stamp
15 # Add here commands to compile the package.
23 rm -f build-stamp install-stamp
25 # Add here commands to clean up after the build process.
26 [ ! -f Makefile ] || $(MAKE) clean
30 install: install-stamp
31 install-stamp: build-stamp
37 # Add here commands to install the package into debian/abcde.
38 $(MAKE) install DESTDIR=`pwd`/debian/abcde prefix=/usr sysconfdir=/etc docdir=/usr/share/doc/abcde
39 rm -f `pwd`/debian/abcde/usr/share/doc/abcde/COPYING*
40 install -d `pwd`/debian/abcde/usr/share/doc/abcde/examples
41 install -m 644 examples/* `pwd`/debian/abcde/usr/share/doc/abcde/examples
45 # Build architecture-independent files here.
46 binary-indep: build install
66 # Build architecture-dependent files here.
67 binary-arch: build install
68 # We have nothing to do by default.
71 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
73 binary: binary-indep binary-arch
74 .PHONY: build clean binary-indep binary-arch binary