summaryrefslogtreecommitdiff
path: root/docs/pod/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-15 23:28:07 +0000
committerPaul Buetow <paul@buetow.org>2008-05-15 23:28:07 +0000
commitbe839900419c7a74c4a46efd279d0ca16b35dc1f (patch)
tree1355c8f238d1c58ffd5cb8803bcc2adf987e79aa /docs/pod/Makefile
parent33c945e58f86267b0d3bdca4c3421155e11eb0d9 (diff)
Moved stuff into trunk.
Diffstat (limited to 'docs/pod/Makefile')
-rw-r--r--docs/pod/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/pod/Makefile b/docs/pod/Makefile
new file mode 100644
index 0000000..d6f56fe
--- /dev/null
+++ b/docs/pod/Makefile
@@ -0,0 +1,19 @@
+
+all: man html latex txt
+html:
+ pod2html fype.pod > fype.html
+latex:
+ pod2latex fype.pod > fype.tex
+man:
+ pod2man --release "`cat ../version.txt`" --center "The Fype Users Manual Page" fype.pod > fype.man
+ cp fype.man fype.1
+ if [ -f fype.1.gz ]; then rm fype.1.gz; fi
+ gzip fype.1
+txt:
+ pod2text fype.pod | tee ../../README > fype.txt
+pdf:
+ pod2pdf --footer-text="This document describes `cat ../version.txt`" fype.pod > fype.pdf
+clean:
+ for i in html tex man 1.gz pdf; do \
+ if [ -f $$i ]; then rm $$i; fi \
+ done