mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
998cd67d00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17839 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
514 B
Makefile
24 lines
514 B
Makefile
POD = $(wildcard *.pod)
|
|
HTML = $(patsubst %.pod, html/%.html, $(POD))
|
|
MAN = $(patsubst %.pod, man/man1/%.1, $(POD))
|
|
PS = $(patsubst %.pod, ps/%.ps, $(POD))
|
|
|
|
all: $(HTML) $(MAN) $(PS)
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .html .pod .1 .ps
|
|
|
|
html/%.html: %.pod
|
|
pod2html --css=manpage.css --htmlroot=. \
|
|
--podpath=. --noindex --infile=$< --outfile=$@
|
|
|
|
man/man1/%.1: %.pod
|
|
pod2man --release=1.4 --center="LLVM Command Guide" $< $@
|
|
|
|
ps/%.ps: man/man1/%.1
|
|
groff -Tps -man $< > $@
|
|
|
|
clean:
|
|
rm -f pod2htm*.*~~ $(HTML) $(MAN) $(PS)
|
|
|