summaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: e660d415256ee5f5e528315c978b5cee5aaf7188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CHAPTERS := $(SITE) blurb intro running input output licence index

INPUTS = $(patsubst %,%.but,$(CHAPTERS))

HALIBUT = ../build/halibut

all: Contents.html

Contents.html: $(INPUTS) $(HALIBUT)
	$(HALIBUT) $(INPUTS)
	rm -f index.html
	ln -s Contents.html index.html
	mv output.txt halibut.txt
	rm -f output.hlp output.cnt output.1

clean:
	rm -f *.html *.txt *.hlp *.cnt *.1