diff options
Diffstat (limited to 'Master/texmf-dist/doc/man/man5/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/man/man5/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/man/man5/Makefile b/Master/texmf-dist/doc/man/man5/Makefile new file mode 100644 index 00000000000..c0afb8965a5 --- /dev/null +++ b/Master/texmf-dist/doc/man/man5/Makefile @@ -0,0 +1,17 @@ +# Public domain. Originally written by Manuel Pegourie-Gonnard, 2008. + +SRC = $(wildcard man5/*.5) +PDF = $(patsubst %.5, %.man5.pdf, $(SRC)) + +MKPDF = $(GROFF) $(PDFOPTS) $< | $(PSPDF) - $@.tmp && mv $@.tmp $@ || rm $@.tmp + +all: pdf +pdf: $(PDF) + +clean: + @echo 'Removing pdf files.' + @rm -f -- $(PDF) + +%.man5.pdf: %.5 + $(MKPDF) + |