2 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
3 # This version is for a hypothetical package that builds an
4 # architecture-dependant package, as well as an architecture-independent
7 # Uncomment this to turn on verbose mode.
14 # Add here commands to compile the package.
22 rm -f build-stamp install-stamp
24 # Add here commands to clean up after the build process.
30 install: install-stamp
31 install-stamp: build-stamp
37 # Add here commands to install the package into debian/tmp.
38 #$(MAKE) prefix=`pwd`/debian/tmp/usr install
43 # Build architecture-independent files here.
44 binary-indep: build install
51 # dh_installemacsen -i
54 # dh_installmanpages -i
56 dh_installchangelogs -i
65 # Build architecture-dependent files here.
66 binary-arch: build install
73 # dh_installemacsen -a
78 dh_installchangelogs -a
91 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
93 binary: binary-indep binary-arch
94 .PHONY: build clean binary-indep binary-arch binary install