blob: ddc6de4a9a3319691e00099dbba2d30d6f940f5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# THIS MAKEFILE MAY WORK ONLY WITH (NET)BSD MAKE AKA PMAKE!
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
|