summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/man/man5/Makefile
blob: a41437c6d7c5cae24bc946c5a784e628db355faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Public domain.  Originally written by Manuel Pegourie-Gonnard, 2008.

SRC = $(wildcard man5/*.5)
PDF = $(patsubst %.5, %.pdf, $(SRC))

MKPDF  = $(GROFF) $(PDFOPTS)  $< | $(PSPDF) - $@

all: pdf 
pdf: $(PDF)

clean:
	@echo 'Removing pdf files.'
	@rm -f -- $(PDF)

%.pdf: %.5
	$(MKPDF)