summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/man/man5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/man/man5/Makefile')
-rw-r--r--Master/texmf/doc/man/man5/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/Master/texmf/doc/man/man5/Makefile b/Master/texmf/doc/man/man5/Makefile
index 1f32aa2db53..e4e847184d0 100644
--- a/Master/texmf/doc/man/man5/Makefile
+++ b/Master/texmf/doc/man/man5/Makefile
@@ -1,19 +1,15 @@
SRC = $(wildcard man5/*.5)
PDF = $(patsubst %.5, %.pdf, $(SRC))
-HTML = $(patsubst %.5, %.html, $(SRC))
+
+MKPDF = $(GROFF) $(PDFOPTS) $< | $(PSPDF) - $@
all: pdf
pdf: $(PDF)
-html: $(HTML)
clean:
- @echo 'Removing pdf and html files.'
- @rm -f -- $(PDF) $(HTML)
+ @echo 'Removing pdf files.'
+ @rm -f -- $(PDF)
%.pdf: %.5
- $(GROFF) $(PDFOPTS) $< | $(PSPDF) - $@
-
-%.html: %.5
- $(GROFF) $(HTMLOPTS) $< > $@
-
+ $(MKPDF)