diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-14 19:50:33 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-14 19:50:33 +0000 |
commit | ee7068ef6de7bde1c99b9455d7d32f5f75e8d337 (patch) | |
tree | f93f131811f42dadae6f5df1a590acb59e0d47a6 /llvm/docs/CommandGuide/Makefile | |
parent | 67abadb0550bb93c7ef1be00039ce2513c8aac81 (diff) | |
download | bcm5719-llvm-ee7068ef6de7bde1c99b9455d7d32f5f75e8d337.tar.gz bcm5719-llvm-ee7068ef6de7bde1c99b9455d7d32f5f75e8d337.zip |
More pods... work in progress
llvm-svn: 13574
Diffstat (limited to 'llvm/docs/CommandGuide/Makefile')
-rw-r--r-- | llvm/docs/CommandGuide/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/Makefile b/llvm/docs/CommandGuide/Makefile new file mode 100644 index 00000000000..730718b0a5e --- /dev/null +++ b/llvm/docs/CommandGuide/Makefile @@ -0,0 +1,23 @@ +POD = $(wildcard *.pod) +HTML = $(patsubst %.pod, %.html, $(POD)) +MAN = $(patsubst %.pod, %.1, $(POD)) +PS = $(patsubst %.pod, %.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=$@ + +%.1: %.pod + pod2man --release=1.3 --center="LLVM User's Guide" $< $@ + +%.ps: %.1 + groff -Tps -man $< > $@ + +clean: + rm -f pod2htm*.*~~ $(HTML) $(MAN) $(PS) + |