2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 by Joey Hess.
5 # This version is for a hypothetical package that builds an
6 # architecture-dependant package, as well as an architecture-independent
9 # Uncomment this to turn on verbose mode.
12 # This is the debhelper compatability version to use.
15 configure: configure-stamp
18 # Add here commands to configure the package.
23 build: configure-stamp build-stamp
27 # Add here commands to compile the package.
35 rm -f build-stamp configure-stamp
37 # Add here commands to clean up after the build process.
49 # Add here commands to install the package into debian/freeside.
50 $(MAKE) install DESTDIR=$(CURDIR)/debian/freeside
54 # Build architecture-independent files here.
55 # Pass -i to all debhelper commands in this target to reduce clutter.
56 binary-indep: build install
59 # dh_installdebconf -i
63 # dh_installlogrotate -i
64 # dh_installemacsen -i
72 dh_installchangelogs -i
82 # Build architecture-dependent files here.
83 binary-arch: build install
86 # dh_installdebconf -a
90 # dh_installlogrotate -a
91 # dh_installemacsen -a
99 dh_installchangelogs -a
112 binary: binary-indep binary-arch
113 .PHONY: build clean binary-indep binary-arch binary install configure