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)
13 DESTDIR := `pwd`/$(prefix)
16 INSTALLFLAGS := -g root -o root -m 0644
17 INSTALLDIRFLAGS := -d -g root -o root -m 0755
19 configure: configure-stamp
22 # Add here commands to configure the package.
23 ./configure --prefix=$(DESTDIR)/usr --mandir=$(DESTDIR)/usr/share/man
29 build-stamp: configure-stamp
32 # Add here commands to compile the package.
34 #/usr/bin/docbook-to-man debian/uffi.sgml > uffi.1
41 rm -f build-stamp configure-stamp
43 # Add here commands to clean up after the build process.
45 find . -type f -and -name *~ -or -name .*~ -exec rm -f {} \;
46 rm -f debian/ctsim.postinst.* debian/ctsim.prerm.*
56 # Add here commands to install the package into debian/ctsim.
57 # install ${INSTALLDIRFLAGS}
60 # Build architecture-independent files here.
61 binary-indep: build install
65 # Build architecture-dependent files here.
66 binary-arch: build install
71 dh_installexamples tools/sample-ctsim.sh helical/sample-helical.sh
82 dh_installchangelogs ChangeLog
95 binary: binary-indep binary-arch
96 .PHONY: build clean binary-indep binary-arch binary install configure