]> pd.if.org Git - hexagon/blobdiff - doc/Makefile
renamed library to hexagon
[hexagon] / doc / Makefile
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644 (file)
index 0000000..d81d254
--- /dev/null
@@ -0,0 +1,16 @@
+hexagon.3:     hexagon.pod
+       pod2man --center='hexagon library' --section=3 --release='hexagon 0.1' $+ > $@
+
+hexagon.txt: hexagon.pod
+       pod2text -l $+
+
+hexagon.pdf:   hexagon.pod
+       pod2latex -full $+
+       pdflatex hexagon.tex
+       pdflatex hexagon.tex
+       pdflatex hexagon.tex
+       rm -f hexagon.tex hexagon.idx hexagon.aux hexagon.toc hexagon.log
+
+clean:
+       rm -f hexagon.3 hexagon.pdf hexagon.tex hexagon.txt \
+               hexagon.idx hexagon.aux hexagon.log hexagon.toc