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