2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
8 # This is the debhelper compatibility version to use.
12 prefix := debian/$(pkg)
15 INSTALLFLAGS := -g root -o root -m 0644
16 INSTALLDIRFLAGS := -d -g root -o root -m 0755
18 configure: configure-stamp
21 # Add here commands to configure the package.
22 ./configure --prefix=${prefix}/usr
28 build-stamp: configure-stamp
31 # Add here commands to compile the package.
33 #/usr/bin/docbook-to-man debian/uffi.sgml > uffi.1
40 rm -f build-stamp configure-stamp
42 # Add here commands to clean up after the build process.
44 rm -f debian/ctsim.postinst.* debian/ctsim.prerm.*
54 # Add here commands to install the package into debian/ctsim.
57 # Build architecture-independent files here.
58 binary-indep: build install
62 # Build architecture-dependent files here.
63 binary-arch: build install
68 # dh_installexamples examples/*.cl
79 dh_installchangelogs ChangeLog
92 binary: binary-indep binary-arch
93 .PHONY: build clean binary-indep binary-arch binary install configure