diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-07-17 01:30:05 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-07-17 01:30:05 +0000 |
commit | 71b400387478053692b04e1d0608865309286762 (patch) | |
tree | 6fbef9594330f0d554ffd584983a867f0ccd7023 /Master/texmf/doc/man/man5/Makefile | |
parent | 0e083fd7bdd2fba736e4db71001eee98cbd9969b (diff) |
Adding pdf versions of the man pages.
git-svn-id: svn://tug.org/texlive/trunk@9626 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/doc/man/man5/Makefile')
-rw-r--r-- | Master/texmf/doc/man/man5/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf/doc/man/man5/Makefile b/Master/texmf/doc/man/man5/Makefile new file mode 100644 index 00000000000..1f32aa2db53 --- /dev/null +++ b/Master/texmf/doc/man/man5/Makefile @@ -0,0 +1,19 @@ +SRC = $(wildcard man5/*.5) +PDF = $(patsubst %.5, %.pdf, $(SRC)) +HTML = $(patsubst %.5, %.html, $(SRC)) + +all: pdf +pdf: $(PDF) +html: $(HTML) + +clean: + @echo 'Removing pdf and html files.' + @rm -f -- $(PDF) $(HTML) + +%.pdf: %.5 + $(GROFF) $(PDFOPTS) $< | $(PSPDF) - $@ + +%.html: %.5 + $(GROFF) $(HTMLOPTS) $< > $@ + + |