summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/man/man1/Makefile
blob: 1b53288a0c0f3ec07ae719949efdc61749a53e3e (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
94
95
96
97
98
99
100
101
# $Id$
# Public domain.  Originally written by Manuel Pegourie-Gonnard, 2008.

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

MKPDF = $(GROFF) $(PDFOPTS) $< | $(PSPDF) - $@.tmp && mv $@.tmp $@ || rm $@.tmp

all: pdf 
pdf: $(PDF)

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

%.man1.pdf: %.1
	$(MKPDF)

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

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

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

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

man1/dvigif.man1.pdf: man1/dvigif.1 man1/dvipng.1
	$(MKPDF)

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

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

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

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

man1/ebb.man1.pdf: man1/ebb.1 man1/extractbb.1
	$(MKPDF)

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

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

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

man1/lamed.man1.pdf: man1/lamed.1 man1/aleph.1
	$(MKPDF)

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

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

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

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

man1/otangle.man1.pdf: man1/otangle.1 man1/tangle.1
	$(MKPDF)

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

man1/pdfclose.man1.pdf: man1/pdfclose.1 man1/pdfopen.1
	$(MKPDF)

man1/repstopdf.man1.pdf: man1/repstopdf.1 man1/epstopdf.1
	$(MKPDF)

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

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

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

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

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