summaryrefslogtreecommitdiff
path: root/docs/pod/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-08-26 08:17:55 +0000
committerPaul Buetow <paul@buetow.org>2008-08-26 08:17:55 +0000
commit9bf07e1dfa69b5d6e4c296c0690b5ed91f909b7b (patch)
tree60f46be65a1fbaeed2f5deb1d4dbcf5ea68e0d01 /docs/pod/Makefile
added v0.1 branch
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