blob: cfdd9437b38803a3443e8463f628abd66a30c08e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
mandir=$(prefix)/man
man1dir=$(mandir)/man1
CHAPTERS := $(SITE) blurb intro running input output licence manpage index
INPUTS = $(patsubst %,%.but,$(CHAPTERS))
HALIBUT = ../build/halibut
all: index.html halibut.1
index.html: $(INPUTS) $(HALIBUT)
$(HALIBUT) --text=halibut.txt --html --info=halibut.info \
--ps=halibut.ps --pdf=halibut.pdf $(INPUTS)
halibut.1: manpage.but
$(HALIBUT) --man=halibut.1 manpage.but
install:
$(INSTALL) -m 644 halibut.1 $(man1dir)/halibut.1
clean:
rm -f *.html *.txt *.hlp *.cnt *.1 *.info* *.ps *.pdf
|