1 POD = $(wildcard *.pod)
2 HTML = $(patsubst %.pod, %.html, $(POD))
3 MAN = $(patsubst %.pod, %.1, $(POD))
4 PS = $(patsubst %.pod, %.ps, $(POD))
6 all: $(HTML) $(MAN) $(PS)
9 .SUFFIXES: .html .pod .1 .ps
12 pod2html --css=http://www.perldoc.com/css/perldoc.css \
13 --podpath=/`pwd` --noindex --infile=$< --outfile=$@
16 pod2man --release=1.3 --center="LLVM User's Guide" $< $@
19 groff -Tps -man $< > $@
22 rm -f pod2htm*.*~~ $(HTML) $(MAN) $(PS)