+docs: doc/hexagon.3 doc/hexagon.txt
+
+doc/hexagon.3: doc/hexagon.pod
+ pod2man --center='hexagon library' --section=3 --release='Version $(RELEASE)' $+ > $@
+
+doc/hexagon.txt: doc/hexagon.pod
+ pod2text -l $+ > $@
+
+doc/hexagon.pdf: doc/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