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.
15 # This has to be exported to make some magic below work.
22 # Add here commands to compile the package.
32 # Add here commands to clean up after the build process.
45 # Add here commands to install the package into debian/tmp.
46 #$(MAKE) prefix=`pwd`/debian/tmp/usr install
50 # Build architecture-independent files here.
51 # Pass -i to all debhelper commands in this target to reduce clutter.
52 binary-indep: DH_OPTIONS=-i
53 binary-indep: build install
74 # You may want to make some executables suid here.
82 # Build architecture-dependent files here.
83 # Pass -a to all debhelper commands in this target to reduce clutter.
84 binary-arch: DH_OPTIONS=-a
85 binary-arch: build install
107 # You may want to make some executables suid here.
117 binary: binary-indep binary-arch
118 .PHONY: build clean binary-indep binary-arch binary install