Commit | Line | Data |
---|---|---|
339cbe09 | 1 | CHAPTERS := $(SITE) blurb intro running input output licence index |
11f2edfa | 2 | |
3 | INPUTS = $(patsubst %,%.but,$(CHAPTERS)) | |
4 | ||
5 | HALIBUT = ../build/halibut | |
6 | ||
7 | all: Contents.html | |
8 | ||
339cbe09 | 9 | Contents.html: $(INPUTS) $(HALIBUT) |
11f2edfa | 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 |