... oh, except that minimal documentation might be helpful.
[sgt/halibut] / doc / Makefile
index 0e8737a..8b56d43 100644 (file)
@@ -1,13 +1,17 @@
-CHAPTERS := $(SITE) blurb intro running input output licence index
+CHAPTERS := $(SITE) blurb intro running input output licence manpage index
 
 INPUTS = $(patsubst %,%.but,$(CHAPTERS))
 
 HALIBUT = ../build/halibut
 
-all: Contents.html
+all: index.html halibut.1
 
-Contents.html: $(INPUTS) $(HALIBUT)
-       $(HALIBUT) --text=halibut.txt --html $(INPUTS)
+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
 
 clean:
-       rm -f *.html *.txt *.hlp *.cnt *.1
+       rm -f *.html *.txt *.hlp *.cnt *.1 *.info*