summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/man/man1/Makefile
blob: 40446967b775dc5b5cf238623476e463466cd3be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Public domain.  Originally written by Manuel Pegourie-Gonnard, 2008.

SRC = $(wildcard man1/*.1)
PDF = $(patsubst %, %.pdf, $(SRC))

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

all: pdf 
pdf: $(PDF)

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

%.pdf: %
	$(MKPDF)

# The rules below are generated by the following script (from '../')
# grep '^.so ' man1/* | \
# sed -e 's/^\(.*\)\.1:\.so \(.*\)\.1$/\1.pdf: \1.1 \2.1\n\t$(MKPDF)\n/'
# and should be updated from time to time.

man1/allec.pdf: man1/allec.1 man1/allcm.1
	$(MKPDF)

man1/ctangle.pdf: man1/ctangle.1 man1/cweb.1
	$(MKPDF)

man1/cweave.pdf: man1/cweave.1 man1/cweb.1
	$(MKPDF)

man1/dvilj2p.pdf: man1/dvilj2p.1 man1/dvilj.1
	$(MKPDF)

man1/dvilj4.pdf: man1/dvilj4.1 man1/dvilj.1
	$(MKPDF)

man1/dvilj4l.pdf: man1/dvilj4l.1 man1/dvilj.1
	$(MKPDF)

man1/dvilj6.pdf: man1/dvilj6.1 man1/dvilj.1
	$(MKPDF)

man1/fmtutil-sys.pdf: man1/fmtutil-sys.1 man1/fmtutil.1
	$(MKPDF)

man1/getnonfreefonts-sys.pdf: man1/getnonfreefonts-sys.1 man1/getnonfreefonts.1
	$(MKPDF)

man1/kpsepath.pdf: man1/kpsepath.1 man1/kpsetool.1
	$(MKPDF)

man1/kpsexpand.pdf: man1/kpsexpand.1 man1/kpsetool.1
	$(MKPDF)

man1/lambda.pdf: man1/lambda.1 man1/omega.1
	$(MKPDF)

man1/mf-nowin.pdf: man1/mf-nowin.1 man1/mf.1
	$(MKPDF)

man1/mktexfmt.pdf: man1/mktexfmt.1 man1/fmtutil.1
	$(MKPDF)

man1/odvicopy.pdf: man1/odvicopy.1 man1/dvicopy.1
	$(MKPDF)

man1/odvips.pdf: man1/odvips.1 man1/dvips.1
	$(MKPDF)

man1/odvitype.pdf: man1/odvitype.1 man1/dvitype.1
	$(MKPDF)

man1/oxdvi.pdf: man1/oxdvi.1 man1/xdvi.1
	$(MKPDF)

man1/pdflatex.pdf: man1/pdflatex.1 man1/pdftex.1
	$(MKPDF)

man1/texconfig-sys.pdf: man1/texconfig-sys.1 man1/texconfig.1
	$(MKPDF)

man1/texhash.pdf: man1/texhash.1 man1/mktexlsr.1
	$(MKPDF)

man1/texlua.pdf: man1/texlua.1 man1/luatex.1
	$(MKPDF)

man1/texluac.pdf: man1/texluac.1 man1/luatex.1
	$(MKPDF)

man1/updmap-sys.pdf: man1/updmap-sys.1 man1/updmap.1
	$(MKPDF)