cacad86604ca779a2cb0ad7df31ee8c39a51cc59
[sgt/halibut] / doc / Makefile
1 CHAPTERS := $(SITE) blurb intro running input output licence
2
3 INPUTS = $(patsubst %,%.but,$(CHAPTERS))
4
5 HALIBUT = ../build/halibut
6
7 all: Contents.html
8
9 Contents.html: $(INPUTS)
10 $(HALIBUT) $(INPUTS)
11 rm -f index.html
12 ln -s Contents.html index.html
13 mv output.txt halibut.txt
14 rm -f output.hlp output.cnt output.1
15
16 clean:
17 rm -f *.html *.txt *.hlp *.cnt *.1