summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-05-14 20:24:59 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-05-14 20:24:59 +0000
commit13b433ecf5a45a6aa77d16259c6fb03545b86d24 (patch)
tree8c457c9bbbc70dc7af14d170a530e6c75dc124c2 /llvm/docs/CommandGuide
parentee7068ef6de7bde1c99b9455d7d32f5f75e8d337 (diff)
downloadbcm5719-llvm-13b433ecf5a45a6aa77d16259c6fb03545b86d24.tar.gz
bcm5719-llvm-13b433ecf5a45a6aa77d16259c6fb03545b86d24.zip
Put outputs of each type into a separate subdirectory.
llvm-svn: 13575
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/docs/CommandGuide/Makefile b/llvm/docs/CommandGuide/Makefile
index 730718b0a5e..8f2f9ce61cf 100644
--- a/llvm/docs/CommandGuide/Makefile
+++ b/llvm/docs/CommandGuide/Makefile
@@ -1,21 +1,21 @@
POD = $(wildcard *.pod)
-HTML = $(patsubst %.pod, %.html, $(POD))
-MAN = $(patsubst %.pod, %.1, $(POD))
-PS = $(patsubst %.pod, %.ps, $(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: %.pod
- pod2html --css=http://www.perldoc.com/css/perldoc.css \
- --podpath=/`pwd` --noindex --infile=$< --outfile=$@
+html/%.html: %.pod
+ pod2html --css=manpage.css --htmlroot=. \
+ --podpath=. --noindex --infile=$< --outfile=$@
-%.1: %.pod
+man/man1/%.1: %.pod
pod2man --release=1.3 --center="LLVM User's Guide" $< $@
-%.ps: %.1
+ps/%.ps: man/man1/%.1
groff -Tps -man $< > $@
clean:
OpenPOWER on IntegriCloud