Commit | Line | Data |
---|---|---|
1 | CHAPTERS := $(SITE) blurb intro running input output licence manpage index | |
2 | ||
3 | INPUTS = $(patsubst %,%.but,$(CHAPTERS)) | |
4 | ||
5 | HALIBUT = ../build/halibut | |
6 | ||
7 | all: index.html halibut.1 | |
8 | ||
9 | index.html: $(INPUTS) $(HALIBUT) | |
10 | $(HALIBUT) --text=halibut.txt --html --info=halibut.info \ | |
11 | --ps=halibut.ps --pdf=halibut.pdf $(INPUTS) | |
12 | ||
13 | halibut.1: manpage.but | |
14 | $(HALIBUT) --man=halibut.1 manpage.but | |
15 | ||
16 | clean: | |
17 | rm -f *.html *.txt *.hlp *.cnt *.1 *.info* |