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
37 # Add here commands to install the package into debian/tmp.
38 #$(MAKE) prefix=`pwd`/debian/tmp/usr install
42 # Build architecture-independent files here.
43 binary-indep: build install
53 # dh_installmanpages -i
55 dh_installchangelogs -i
64 # Build architecture-dependent files here.
65 binary-arch: build install
77 dh_installchangelogs -a
90 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
92 binary: binary-indep binary-arch
93 .PHONY: build clean binary-indep binary-arch binary