[llvm-commits] CVS: llvm/docs/CommandGuide/Makefile

Misha Brukman brukman at cs.uiuc.edu
Fri May 14 15:25:01 PDT 2004


Changes in directory llvm/docs/CommandGuide:

Makefile updated: 1.1 -> 1.2

---
Log message:

Put outputs of each type into a separate subdirectory.


---
Diffs of the changes:  (+8 -8)

Index: llvm/docs/CommandGuide/Makefile
diff -u llvm/docs/CommandGuide/Makefile:1.1 llvm/docs/CommandGuide/Makefile:1.2
--- llvm/docs/CommandGuide/Makefile:1.1	Fri May 14 14:50:33 2004
+++ llvm/docs/CommandGuide/Makefile	Fri May 14 15:24:59 2004
@@ -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:





More information about the llvm-commits mailing list