Ahem; let's have all the man page headings at the same level!
[sgt/halibut] / doc / Makefile
CommitLineData
c38da2b7 1CHAPTERS := $(SITE) blurb intro running input output licence manpage index
11f2edfa 2
3INPUTS = $(patsubst %,%.but,$(CHAPTERS))
4
5HALIBUT = ../build/halibut
6
c38da2b7 7all: Contents.html halibut.1
11f2edfa 8
339cbe09 9Contents.html: $(INPUTS) $(HALIBUT)
0a6347b4 10 $(HALIBUT) --text=halibut.txt --html $(INPUTS)
11f2edfa 11
c38da2b7 12halibut.1: manpage.but
13 $(HALIBUT) --man=halibut.1 manpage.but
14
11f2edfa 15clean:
16 rm -f *.html *.txt *.hlp *.cnt *.1