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