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

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

HALIBUT = ../build/halibut

all: Contents.html halibut.1

Contents.html: $(INPUTS) $(HALIBUT)
	$(HALIBUT) --text=halibut.txt --html --info=halibut.info $(INPUTS)

halibut.1: manpage.but
	$(HALIBUT) --man=halibut.1 manpage.but

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