summaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: cacad86604ca779a2cb0ad7df31ee8c39a51cc59 (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

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

HALIBUT = ../build/halibut

all: Contents.html

Contents.html: $(INPUTS)
	$(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