From: Misha Brukman Date: Fri, 14 May 2004 20:24:59 +0000 (+0000) Subject: Put outputs of each type into a separate subdirectory. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9ff1a93f8369dd2c517d244629ee7a6a7e1088e6;p=oota-llvm.git Put outputs of each type into a separate subdirectory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13575 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CommandGuide/Makefile b/docs/CommandGuide/Makefile index 730718b0a5e..8f2f9ce61cf 100644 --- a/docs/CommandGuide/Makefile +++ b/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: