blob: a81c5624d41352337e5fca1760f6eda2298311d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $Id$
# Public domain. Originally written by Manuel Pegourie-Gonnard, 2008.
SRC = $(wildcard man5/*.5)
PDF = $(patsubst %.5, %.man5.pdf, $(SRC))
PSPDF_MV = $(PSPDF) - $@.tmp && mv $@.tmp $@ || rm $@.tmp
MKPDF = $(GROFF) $(PDFOPTS) $< | $(PSPDF_MV)
MKPDF_UTF8 = env GROFF_FONT_PATH=../../../tlpkg/dev/groff-utf8 \
$(GROFF) -K utf8 $(PDFOPTS) $< | $(PSPDF_MV)
all: pdf
pdf: $(PDF)
clean:
@echo 'Removing pdf files.'
rm -f -- $(PDF)
%.man5.pdf: %.5
$(MKPDF)
man5/luaotfload.conf.man5.pdf: man5/luaotfload.conf.5
$(MKPDF_UTF8)
|