--- /dev/null
+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