summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/am/web.am
blob: dbcb66bb2b524dc450d2de107f8cc5db5f11e89e (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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
## $Id$
## texk/web2c/am/web.am: Makefile fragment for the standard web programs --
## except tangle.
##
## Copyright 2018-2022 Karl Berry <tex-live@tug.org>
## Copyright 2009-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.

web_programs = bibtex dvicopy dvitype gftodvi gftopk gftype mft \
	patgen pktogf pktype pltotf pooltype tftopl vftovp vptovf \
	weave twill

## Basic tests, one for each program.
##
web_tests = $(web_programs:=.test)

if WEB
bin_PROGRAMS += $(web_programs)
endif WEB
EXTRA_PROGRAMS += $(web_programs)

EXTRA_DIST += $(web_programs:=.web) $(web_programs:=.ch)
DISTCLEANFILES += $(web_programs:=.c) $(web_programs:=.h) \
	$(web_programs:=.p) $(web_programs:=-web2c)

nodist_bibtex_SOURCES = bibtex.c bibtex.h
bibtex.c bibtex.h: bibtex-web2c
	@$(web2c) bibtex
bibtex-web2c: bibtex.p $(web2c_depend) web2c/cvtbib.sed
	@$(web2c) bibtex
bibtex.p: tangle$(EXEEXT) bibtex.web bibtex.ch
	$(tangle) bibtex bibtex
web_tests += tests/bibtex-openout-test.pl tests/bibtex-longline-test.pl
web_tests += tests/bibtex-mem.test
web_tests += tests/bibtex-bigauth.test
web_tests += tests/bibtex-auxinclude.test
bibtex.log tests/bibtex-openout-test.log tests/bibtex-longline-test.log \
	tests/bibtex-mem.log \
	tests/bibtex-bigauth.log \
	tests/bibtex-auxinclude.log: bibtex$(EXEEXT)

nodist_dvicopy_SOURCES = dvicopy.c dvicopy.h
dvicopy.c dvicopy.h: dvicopy-web2c
	@$(web2c) dvicopy
dvicopy-web2c: dvicopy.p $(web2c_depend)
	@$(web2c) dvicopy
dvicopy.p: tangle$(EXEEXT) dvicopy.web dvicopy.ch
	$(tangle) dvicopy dvicopy
dvicopy.log: dvicopy$(EXEEXT)

nodist_dvitype_SOURCES = dvitype.c dvitype.h
dvitype.c dvitype.h: dvitype-web2c
	@$(web2c) dvitype
dvitype-web2c: dvitype.p $(web2c_depend)
	@$(web2c) dvitype
dvitype.p: tangle$(EXEEXT) dvitype.web dvitype.ch
	$(tangle) dvitype dvitype
dvitype.log: dvitype$(EXEEXT)

nodist_gftodvi_SOURCES = gftodvi.c gftodvi.h
gftodvi.c gftodvi.h: gftodvi-web2c
	@$(web2c) gftodvi
gftodvi-web2c: gftodvi.p $(web2c_depend)
	@$(web2c) gftodvi
gftodvi.p: tangle$(EXEEXT) gftodvi.web gftodvi.ch
	$(tangle) gftodvi gftodvi
gftodvi_SOURCES = gftodmem.h
gftodvi.log: gftodvi$(EXEEXT)

nodist_gftopk_SOURCES = gftopk.c gftopk.h
gftopk.c gftopk.h: gftopk-web2c
	@$(web2c) gftopk
gftopk-web2c: gftopk.p $(web2c_depend)
	@$(web2c) gftopk
gftopk.p: tangle$(EXEEXT) gftopk.web gftopk.ch
	$(tangle) gftopk gftopk
gftopk.log: gftopk$(EXEEXT)

nodist_gftype_SOURCES = gftype.c gftype.h
gftype.c gftype.h: gftype-web2c
	@$(web2c) gftype
gftype-web2c: gftype.p $(web2c_depend)
	@$(web2c) gftype
gftype.p: tangle$(EXEEXT) gftype.web gftype.ch
	$(tangle) gftype gftype
gftype.log: gftype$(EXEEXT)

nodist_mft_SOURCES = mft.c mft.h
mft.c mft.h: mft-web2c
	@$(web2c) mft
mft-web2c: mft.p $(web2c_depend)
	@$(web2c) mft
mft.p: tangle$(EXEEXT) mft.web mft.ch
	$(tangle) mft mft
mft.log: mft$(EXEEXT)

nodist_patgen_SOURCES = patgen.c patgen.h
patgen.c patgen.h: patgen-web2c
	@$(web2c) patgen
patgen-web2c: patgen.p $(web2c_depend)
	@$(web2c) patgen
patgen.p: tangle$(EXEEXT) patgen.web patgen.ch
	$(tangle) patgen patgen
patgen.log: patgen$(EXEEXT)

nodist_pktogf_SOURCES = pktogf.c pktogf.h
pktogf.c pktogf.h: pktogf-web2c
	@$(web2c) pktogf
pktogf-web2c: pktogf.p $(web2c_depend)
	@$(web2c) pktogf
pktogf.p: tangle$(EXEEXT) pktogf.web pktogf.ch
	$(tangle) pktogf pktogf
pktogf.log: pktogf$(EXEEXT)

nodist_pktype_SOURCES = pktype.c pktype.h
pktype.c pktype.h: pktype-web2c
	@$(web2c) pktype
pktype-web2c: pktype.p $(web2c_depend)
	@$(web2c) pktype
pktype.p: tangle$(EXEEXT) pktype.web pktype.ch
	$(tangle) pktype pktype
pktype.log: pktype$(EXEEXT)

nodist_pltotf_SOURCES = pltotf.c pltotf.h
pltotf.c pltotf.h: pltotf-web2c
	@$(web2c) pltotf
pltotf-web2c: pltotf.p $(web2c_depend)
	@$(web2c) pltotf
pltotf.p: tangle$(EXEEXT) pltotf.web pltotf.ch
	$(tangle) pltotf pltotf
pltotf.log: pltotf$(EXEEXT)

nodist_pooltype_SOURCES = pooltype.c pooltype.h
pooltype.c pooltype.h: pooltype-web2c
	@$(web2c) pooltype
pooltype-web2c: pooltype.p $(web2c_depend)
	@$(web2c) pooltype
pooltype.p: tangle$(EXEEXT) pooltype.web pooltype.ch
	$(tangle) pooltype pooltype
pooltype.log: pooltype$(EXEEXT) tex.pool

nodist_tftopl_SOURCES = tftopl.c tftopl.h
tftopl.c tftopl.h: tftopl-web2c
	@$(web2c) tftopl
tftopl-web2c: tftopl.p $(web2c_depend)
	@$(web2c) tftopl
tftopl.p: tangle$(EXEEXT) tftopl.web tftopl.ch
	$(tangle) tftopl tftopl
tftopl.log: tftopl$(EXEEXT)

nodist_vftovp_SOURCES = vftovp.c vftovp.h
vftovp.c vftovp.h: vftovp-web2c
	@$(web2c) vftovp
vftovp-web2c: vftovp.p $(web2c_depend)
	@$(web2c) vftovp
vftovp.p: tangle$(EXEEXT) vftovp.web vftovp.ch
	$(tangle) vftovp vftovp
vftovp.log: vftovp$(EXEEXT)

nodist_vptovf_SOURCES = vptovf.c vptovf.h
vptovf.c vptovf.h: vptovf-web2c
	@$(web2c) vptovf
vptovf-web2c: vptovf.p $(web2c_depend)
	@$(web2c) vptovf
vptovf.p: tangle$(EXEEXT) vptovf.web vptovf.ch
	$(tangle) vptovf vptovf
vptovf.log: vptovf$(EXEEXT)

nodist_weave_SOURCES = weave.c weave.h
weave.c weave.h: weave-web2c
	@$(web2c) weave
weave-web2c: weave.p $(web2c_depend)
	@$(web2c) weave
weave.p: tangle$(EXEEXT) weave.web weave.ch
	$(tangle) weave weave
weave.log: weave$(EXEEXT)

nodist_twill_SOURCES = twill.c twill.h
twill.c twill.h: twill-web2c
	@$(web2c) twill
twill-web2c: twill.p $(web2c_depend)
	@$(web2c) twill
twill.p: tangle$(EXEEXT) twill.web
	$(tangle) twill
twill.web: tie$(EXEEXT) weave.web weave.ch weav-twill.ch
	$(tie_m) weave.web weave.ch weav-twill.ch
twill.log: twill$(EXEEXT)

## Tests.
##
if WEB
TESTS += $(web_tests)
endif WEB
EXTRA_DIST += $(web_tests)

## bibtex.test
EXTRA_DIST += tests/exampl.bbl
DISTCLEANFILES += tests/xexampl.aux tests/xexampl.bbl tests/xexampl.blg
## tests/bibtex-longline-test.pl
DISTCLEANFILES += longline.aux longline.bbl longline.bib longline.blg
## tests/bibtex-mem.test
EXTRA_DIST += tests/memdata1.bst tests/memdata2.bst tests/memdata3.bst
DISTCLEANFILES += tests/memtest.bib tests/memtest?.*
## tests/bibtex-bigauth.test
EXTRA_DIST += tests/bibtex-bigauth.aux tests/bibtex-bigauth.bib
EXTRA_DIST += tests/bibtex-bigauth.tex
## tests/bibtex-auxinclinde.test
EXTRA_DIST += tests/auxinclude.aux tests/auxinclude.bbl tests/auxinclude.bib
EXTRA_DIST += tests/auxinclude.tex tests/auxinclude2.aux tests/auxinclude2.tex
## dvicopy.test
DISTCLEANFILES += tests/xstory.dvi tests/xpplr.dvi
## dvitype.test
DISTCLEANFILES += tests/xstory.dvityp tests/xpagenum.typ
## gftodvi.test
DISTCLEANFILES += cmr10.dvi tests/xcmr10.dvi
## gftopk.test
DISTCLEANFILES += cmr10.pk tests/xcmr10.pk
## gftype.test
DISTCLEANFILES += tests/xcmr10.gft1 tests/xcmr10.gft2
## mft.test
DISTCLEANFILES += io.tex tests/io.tex
## patgen.test
DISTCLEANFILES += tests/xpatout pattmp.4
## pktogf.test
DISTCLEANFILES += cmr10.gf tests/xcmr10.600gf
## pktype.test
DISTCLEANFILES += tests/xcmr10.pktyp
## pltotf.test
DISTCLEANFILES += badpl.* tests/xcmr10.tfm
## pooltype.test
DISTCLEANFILES += tests/xtexpool.typ
## tftopl.test
DISTCLEANFILES += badtfm.* tests/xcmr10*.pl
## vftovp.test
DISTCLEANFILES += badvf.* tests/xptmr*.vpl
## vptovf.test
DISTCLEANFILES += badvpl.* tests/yptmr*.*
## weave.test
DISTCLEANFILES += pooltype.tex
## {pdftexdir,xetexdir,ptexdir,uptexdir}/wcfname.test
EXTRA_DIST += tests/fn¢£¥µÆØß-utf8.tex tests/fn±×÷§¶-utf8.tex
EXTRA_DIST += tests/fnさざ波-utf8.txt tests/fnさざ波-euc.tex tests/fnさざ波-sjis.tex
EXTRA_DIST += tests/fn-utf8.txt tests/fn-euc.txt tests/fn-sjis.txt

## Test data
##
EXTRA_DIST += \
	tests/allbib.aux \
	tests/allbib.tex \
	tests/apalike.bst \
	tests/badpl.pl \
	tests/badtfm.tfm \
	tests/badvf.tfm \
	tests/badvf.vf \
	tests/badvpl.vpl \
	tests/batch.tex \
	tests/check.log \
	tests/cmr10.600gf \
	tests/cmr10.pk \
	tests/cmr10.pl \
	tests/cmr10.tfm \
	tests/cmr7.tfm \
	tests/cmr8.tfm \
	tests/cmti10.tfm \
	tests/cmtt10.tfm \
	tests/cmtt8.tfm \
	tests/dict \
	tests/eight.tex \
	tests/end.tex \
	tests/exampl.aux \
	tests/exampl.tex \
	tests/gray.tfm \
	tests/hello.tex \
	tests/io.mf \
	tests/just.texi \
	tests/label.mp \
	tests/label.mpx \
	tests/logo8.tfm \
	tests/longline.aux \
	tests/longline.bib \
	tests/longline.tex \
	tests/longtfm.tex \
	tests/magic.tex \
	tests/memtest.tex \
	tests/mltextst.tex \
	tests/mptest.mp \
	tests/mptest.mpx \
	tests/one.two.mf \
	tests/one.two.mp \
	tests/one.two.tex \
	tests/online.mf \
	tests/openout.mp \
	tests/openout.tex \
	tests/pagenum.dvi \
	tests/pagenum.tex \
	tests/patgen.in \
	tests/patterns \
	tests/plain.mft \
	tests/pplr.dvi \
	tests/pplr.tfm \
	tests/ptmr.dvi \
	tests/ptmr.tfm \
	tests/ptmr.vf \
	tests/ptmr.vpl \
	tests/rpsyr.tfm \
	tests/rptmr.tfm \
	tests/story.dvi \
	tests/testex.err \
	tests/testex.mp \
	tests/testex.tex \
	tests/translate \
	tests/uno.dos \
	tests/xampl.bib