Support for the MS HTML Help system in the HTML back end. As yet I
[sgt/halibut] / doc / Makefile
CommitLineData
a4d3c848 1mandir=$(prefix)/man
2man1dir=$(mandir)/man1
3
c38da2b7 4CHAPTERS := $(SITE) blurb intro running input output licence manpage index
11f2edfa 5
6INPUTS = $(patsubst %,%.but,$(CHAPTERS))
7
8HALIBUT = ../build/halibut
9
0287083a 10all: index.html halibut.1
11f2edfa 11
0287083a 12index.html: $(INPUTS) $(HALIBUT)
13 $(HALIBUT) --text=halibut.txt --html --info=halibut.info \
14 --ps=halibut.ps --pdf=halibut.pdf $(INPUTS)
11f2edfa 15
c38da2b7 16halibut.1: manpage.but
17 $(HALIBUT) --man=halibut.1 manpage.but
18
a4d3c848 19install:
20 $(INSTALL) -m 644 halibut.1 $(man1dir)/halibut.1
21
11f2edfa 22clean:
f2ef00b5 23 rm -f *.html *.txt *.hlp *.cnt *.1 *.info* *.ps *.pdf *.hh* *.chm
24
25chm: halibut.hhp
26halibut.hhp: $(INPUTS) $(HALIBUT) chm.but
27 $(HALIBUT) --html $(INPUTS) chm.but