2 # Sample debian/rules that uses debhelper.
3 # This file is public domain software, originally written 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 compatibility version to use.
19 # Add here commands to compile the package.
29 # Add here commands to clean up after the build process.
42 # Add here commands to install the package into debian/tmp.
43 #$(MAKE) prefix=`pwd`/debian/tmp/usr install
47 # Build architecture-independent files here.
48 binary-indep: build install
52 # dh_installdebconf -i
56 # dh_installlogrotate -i
57 # dh_installemacsen -i
62 # dh_installmanpages -i
65 dh_installchangelogs -i
69 # You may want to make some executables suid here.
77 # Build architecture-dependent files here.
78 binary-arch: build install
82 # dh_installdebconf -a
86 # dh_installlogrotate -a
87 # dh_installemacsen -a
92 # dh_installmanpages -a
95 dh_installchangelogs -a
100 # You may want to make some executables suid here.
110 binary: binary-indep binary-arch
111 .PHONY: build clean binary-indep binary-arch binary install