4 CHAPTERS
:= $(SITE
) blurb intro running input output licence manpage index
6 INPUTS
= $(patsubst %,%.but
,$(CHAPTERS
))
8 HALIBUT
= ..
/build
/halibut
10 all: index.html halibut
.1
12 index.html
: $(INPUTS
) $(HALIBUT
)
13 $(HALIBUT
) --text
=halibut.txt
--html
--info=halibut.
info \
14 --ps
=halibut.ps
--pdf
=halibut.pdf
$(INPUTS
)
16 halibut
.1: manpage.but
17 $(HALIBUT
) --man
=halibut
.1 manpage.but
20 $(INSTALL
) -m
644 halibut
.1 $(man1dir)/halibut
.1
23 rm -f
*.html
*.txt
*.hlp
*.cnt
*.1 *.
info* *.ps
*.pdf
*.hh
* *.chm
26 halibut.hhp
: $(INPUTS
) $(HALIBUT
) chm.but
27 $(HALIBUT
) --html
$(INPUTS
) chm.but