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