Commit | Line | Data |
---|---|---|
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) |
0a6347b4 | 10 | $(HALIBUT) --text=halibut.txt --html $(INPUTS) |
11f2edfa | 11 | |
c38da2b7 | 12 | halibut.1: manpage.but |
13 | $(HALIBUT) --man=halibut.1 manpage.but | |
14 | ||
11f2edfa | 15 | clean: |
16 | rm -f *.html *.txt *.hlp *.cnt *.1 |