2
# Adapted from sample debian/rules that uses debhelper.
3
# GNU copyright 1997 to 1999 by Joey Hess.
4
# copyright 1999, 2000 by Yann Dirson
6
# Uncomment this to turn on verbose mode.
9
# We need to ensure bash for the ${i%.shtml} syntax
15
debdir=${topdir}/debian
17
docdir=${tmpdir}/usr/share/doc/${PACKAGE}
19
# This is the debhelper compatability version to use.
26
(cd tutorial && fw 0fw_tut.fw)
27
(cd reference && fw 0fw_ref.fw)
28
(cd developer && fw 0fw_dev.fw)
35
-rm build-stamp *.lis */*.lis
44
cp -a debian/index.html ${docdir}
46
# for i in *.shtml; do \
47
# cp -a $$i ${docdir}/$${i%shtml}html; \
50
# cp -a *.shtml ${docdir}/
52
for i in tutorial developer reference; do \
53
install -d ${docdir}/$$i; \
54
cp -a $$i/*.html $$i/binary ${docdir}/$$i/; \
57
# Build architecture-independent files here.
58
binary-indep: build install
64
dh_compress -X.shtml -X.cgi -X.txt
71
# Build architecture-dependent files here.
72
binary-arch: build install
74
binary: binary-indep binary-arch
75
.PHONY: build clean binary-indep binary-arch binary install