2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
4 # GNU copyright 2001 by Yann Dirson.
6 # This is the debian/rules file for packages jam and ftjam
7 # It should be usable with both packages without any change
9 # Uncomment this to turn on verbose mode.
12 # This is the debhelper compatability version to use.
21 build-stamp: debian/jam.1
29 /usr/bin/docbook-to-man $< > $@
36 rm -f jam0 debian/jam.1
45 install -d ${topdir}/debian/${jam}/usr/bin
46 install -m755 bin.linuxx86/bjam ${topdir}/debian/${jam}/usr/bin/
47 install -d ${topdir}/debian/${jam}/usr/share/man/man1/
48 install -m644 debian/jam.1 ${topdir}/debian/${jam}/usr/share/man/man1/${binname}.1
51 # Build architecture-independent files here.
52 binary-indep: build install
53 # We have nothing to do by default.
55 # Build architecture-dependent files here.
56 binary-arch: build install
59 dh_installdocs README RELNOTES Jambase *.html
72 binary: binary-indep binary-arch
73 .PHONY: build clean binary-indep binary-arch binary install configure