summaryrefslogtreecommitdiff
path: root/docs/pod/Makefile
blob: d6f56fe64a50fd8354a3401c953b6e19b9183060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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