Debian Codegraph @

texk/web2c/am/web.am

raw
1 ## $Id: web.am 72600 2024-10-20 06:53:25Z takuji $
2 ## texk/web2c/am/web.am: Makefile fragment for the standard web programs --
3 ## except tangle.
4 ##
5 ## Copyright 2018-2022 Karl Berry <[email protected]>
6 ## Copyright 2009-2015 Peter Breitenlohner <[email protected]>
7 ## You may freely use, modify and/or distribute this file.
8
9 web_programs = bibtex dvicopy dvitype gftodvi gftopk gftype mft \
10 patgen pktogf pktype pltotf pooltype tftopl vftovp vptovf \
11 weave twill
12
13 ## Basic tests, one for each program.
14 ##
15 web_tests = $(web_programs:=.test)
16
17 if WEB
18 bin_PROGRAMS += $(web_programs)
19 endif WEB
20 EXTRA_PROGRAMS += $(web_programs)
21
22 EXTRA_DIST += $(web_programs:=.web) $(web_programs:=.ch)
23 DISTCLEANFILES += $(web_programs:=.c) $(web_programs:=.h) \
24 $(web_programs:=.p) $(web_programs:=-web2c)
25
26 nodist_bibtex_SOURCES = bibtex.c bibtex.h
27 bibtex.c bibtex.h: bibtex-web2c
28 @$(web2c) bibtex
29 bibtex-web2c: bibtex.p $(web2c_depend) web2c/cvtbib.sed
30 @$(web2c) bibtex
31 bibtex.p: tangle$(EXEEXT) bibtex.web bibtex.ch
32 $(tangle) bibtex bibtex
33 web_tests += tests/bibtex-openout-test.pl tests/bibtex-longline-test.pl
34 web_tests += tests/bibtex-mem.test
35 web_tests += tests/bibtex-bigauth.test
36 web_tests += tests/bibtex-auxinclude.test
37 bibtex.log tests/bibtex-openout-test.log tests/bibtex-longline-test.log \
38 tests/bibtex-mem.log \
39 tests/bibtex-bigauth.log \
40 tests/bibtex-auxinclude.log: bibtex$(EXEEXT)
41
42 nodist_dvicopy_SOURCES = dvicopy.c dvicopy.h
43 dvicopy.c dvicopy.h: dvicopy-web2c
44 @$(web2c) dvicopy
45 dvicopy-web2c: dvicopy.p $(web2c_depend)
46 @$(web2c) dvicopy
47 dvicopy.p: tangle$(EXEEXT) dvicopy.web dvicopy.ch
48 $(tangle) dvicopy dvicopy
49 dvicopy.log: dvicopy$(EXEEXT)
50
51 nodist_dvitype_SOURCES = dvitype.c dvitype.h
52 dvitype.c dvitype.h: dvitype-web2c
53 @$(web2c) dvitype
54 dvitype-web2c: dvitype.p $(web2c_depend)
55 @$(web2c) dvitype
56 dvitype.p: tangle$(EXEEXT) dvitype.web dvitype.ch
57 $(tangle) dvitype dvitype
58 dvitype.log: dvitype$(EXEEXT)
59
60 nodist_gftodvi_SOURCES = gftodvi.c gftodvi.h
61 gftodvi.c gftodvi.h: gftodvi-web2c
62 @$(web2c) gftodvi
63 gftodvi-web2c: gftodvi.p $(web2c_depend)
64 @$(web2c) gftodvi
65 gftodvi.p: tangle$(EXEEXT) gftodvi.web gftodvi.ch
66 $(tangle) gftodvi gftodvi
67 gftodvi_SOURCES = gftodmem.h
68 gftodvi.log: gftodvi$(EXEEXT)
69
70 nodist_gftopk_SOURCES = gftopk.c gftopk.h
71 gftopk.c gftopk.h: gftopk-web2c
72 @$(web2c) gftopk
73 gftopk-web2c: gftopk.p $(web2c_depend)
74 @$(web2c) gftopk
75 gftopk.p: tangle$(EXEEXT) gftopk.web gftopk.ch
76 $(tangle) gftopk gftopk
77 gftopk.log: gftopk$(EXEEXT)
78
79 nodist_gftype_SOURCES = gftype.c gftype.h
80 gftype.c gftype.h: gftype-web2c
81 @$(web2c) gftype
82 gftype-web2c: gftype.p $(web2c_depend)
83 @$(web2c) gftype
84 gftype.p: tangle$(EXEEXT) gftype.web gftype.ch
85 $(tangle) gftype gftype
86 gftype.log: gftype$(EXEEXT)
87
88 nodist_mft_SOURCES = mft.c mft.h
89 mft.c mft.h: mft-web2c
90 @$(web2c) mft
91 mft-web2c: mft.p $(web2c_depend)
92 @$(web2c) mft
93 mft.p: tangle$(EXEEXT) mft.web mft.ch
94 $(tangle) mft mft
95 mft.log: mft$(EXEEXT)
96
97 nodist_patgen_SOURCES = patgen.c patgen.h
98 patgen.c patgen.h: patgen-web2c
99 @$(web2c) patgen
100 patgen-web2c: patgen.p $(web2c_depend)
101 @$(web2c) patgen
102 patgen.p: tangle$(EXEEXT) patgen.web patgen.ch
103 $(tangle) patgen patgen
104 patgen.log: patgen$(EXEEXT)
105
106 nodist_pktogf_SOURCES = pktogf.c pktogf.h
107 pktogf.c pktogf.h: pktogf-web2c
108 @$(web2c) pktogf
109 pktogf-web2c: pktogf.p $(web2c_depend)
110 @$(web2c) pktogf
111 pktogf.p: tangle$(EXEEXT) pktogf.web pktogf.ch
112 $(tangle) pktogf pktogf
113 pktogf.log: pktogf$(EXEEXT)
114
115 nodist_pktype_SOURCES = pktype.c pktype.h
116 pktype.c pktype.h: pktype-web2c
117 @$(web2c) pktype
118 pktype-web2c: pktype.p $(web2c_depend)
119 @$(web2c) pktype
120 pktype.p: tangle$(EXEEXT) pktype.web pktype.ch
121 $(tangle) pktype pktype
122 pktype.log: pktype$(EXEEXT)
123
124 nodist_pltotf_SOURCES = pltotf.c pltotf.h
125 pltotf.c pltotf.h: pltotf-web2c
126 @$(web2c) pltotf
127 pltotf-web2c: pltotf.p $(web2c_depend)
128 @$(web2c) pltotf
129 pltotf.p: tangle$(EXEEXT) pltotf.web pltotf.ch
130 $(tangle) pltotf pltotf
131 pltotf.log: pltotf$(EXEEXT)
132
133 nodist_pooltype_SOURCES = pooltype.c pooltype.h
134 pooltype.c pooltype.h: pooltype-web2c
135 @$(web2c) pooltype
136 pooltype-web2c: pooltype.p $(web2c_depend)
137 @$(web2c) pooltype
138 pooltype.p: tangle$(EXEEXT) pooltype.web pooltype.ch
139 $(tangle) pooltype pooltype
140 pooltype.log: pooltype$(EXEEXT) tex.pool
141
142 nodist_tftopl_SOURCES = tftopl.c tftopl.h
143 tftopl.c tftopl.h: tftopl-web2c
144 @$(web2c) tftopl
145 tftopl-web2c: tftopl.p $(web2c_depend)
146 @$(web2c) tftopl
147 tftopl.p: tangle$(EXEEXT) tftopl.web tftopl.ch
148 $(tangle) tftopl tftopl
149 tftopl.log: tftopl$(EXEEXT)
150
151 nodist_vftovp_SOURCES = vftovp.c vftovp.h
152 vftovp.c vftovp.h: vftovp-web2c
153 @$(web2c) vftovp
154 vftovp-web2c: vftovp.p $(web2c_depend)
155 @$(web2c) vftovp
156 vftovp.p: tangle$(EXEEXT) vftovp.web vftovp.ch
157 $(tangle) vftovp vftovp
158 vftovp.log: vftovp$(EXEEXT)
159
160 nodist_vptovf_SOURCES = vptovf.c vptovf.h
161 vptovf.c vptovf.h: vptovf-web2c
162 @$(web2c) vptovf
163 vptovf-web2c: vptovf.p $(web2c_depend)
164 @$(web2c) vptovf
165 vptovf.p: tangle$(EXEEXT) vptovf.web vptovf.ch
166 $(tangle) vptovf vptovf
167 vptovf.log: vptovf$(EXEEXT)
168
169 nodist_weave_SOURCES = weave.c weave.h
170 weave.c weave.h: weave-web2c
171 @$(web2c) weave
172 weave-web2c: weave.p $(web2c_depend)
173 @$(web2c) weave
174 weave.p: tangle$(EXEEXT) weave.web weave.ch
175 $(tangle) weave weave
176 weave.log: weave$(EXEEXT)
177
178 nodist_twill_SOURCES = twill.c twill.h
179 twill.c twill.h: twill-web2c
180 @$(web2c) twill
181 twill-web2c: twill.p $(web2c_depend)
182 @$(web2c) twill
183 twill.p: tangle$(EXEEXT) twill.web
184 $(tangle) twill
185 twill.web: tie$(EXEEXT) weave.web weave.ch weav-twill.ch
186 $(tie_m) weave.web weave.ch weav-twill.ch
187 twill.log: twill$(EXEEXT)
188
189 ## Tests.
190 ##
191 if WEB
192 TESTS += $(web_tests)
193 endif WEB
194 EXTRA_DIST += $(web_tests)
195
196 ## bibtex.test
197 EXTRA_DIST += tests/exampl.bbl
198 DISTCLEANFILES += tests/xexampl.aux tests/xexampl.bbl tests/xexampl.blg
199 ## tests/bibtex-longline-test.pl
200 DISTCLEANFILES += longline.aux longline.bbl longline.bib longline.blg
201 ## tests/bibtex-mem.test
202 EXTRA_DIST += tests/memdata1.bst tests/memdata2.bst tests/memdata3.bst
203 DISTCLEANFILES += tests/memtest.bib tests/memtest?.*
204 ## tests/bibtex-bigauth.test
205 EXTRA_DIST += tests/bibtex-bigauth.aux tests/bibtex-bigauth.bib
206 EXTRA_DIST += tests/bibtex-bigauth.tex
207 ## tests/bibtex-auxinclinde.test
208 EXTRA_DIST += tests/auxinclude.aux tests/auxinclude.bbl tests/auxinclude.bib
209 EXTRA_DIST += tests/auxinclude.tex tests/auxinclude2.aux tests/auxinclude2.tex
210 ## dvicopy.test
211 DISTCLEANFILES += tests/xstory.dvi tests/xpplr.dvi
212 ## dvitype.test
213 DISTCLEANFILES += tests/xstory.dvityp tests/xpagenum.typ
214 ## gftodvi.test
215 DISTCLEANFILES += cmr10.dvi tests/xcmr10.dvi
216 ## gftopk.test
217 DISTCLEANFILES += cmr10.pk tests/xcmr10.pk
218 ## gftype.test
219 DISTCLEANFILES += tests/xcmr10.gft1 tests/xcmr10.gft2
220 ## mft.test
221 DISTCLEANFILES += io.tex tests/io.tex
222 ## patgen.test
223 DISTCLEANFILES += tests/xpatout pattmp.4
224 ## pktogf.test
225 DISTCLEANFILES += cmr10.gf tests/xcmr10.600gf
226 ## pktype.test
227 DISTCLEANFILES += tests/xcmr10.pktyp
228 ## pltotf.test
229 DISTCLEANFILES += badpl.* tests/xcmr10.tfm
230 ## pooltype.test
231 DISTCLEANFILES += tests/xtexpool.typ
232 ## tftopl.test
233 DISTCLEANFILES += badtfm.* tests/xcmr10*.pl
234 ## vftovp.test
235 DISTCLEANFILES += badvf.* tests/xptmr*.vpl
236 ## vptovf.test
237 DISTCLEANFILES += badvpl.* tests/yptmr*.*
238 ## weave.test
239 DISTCLEANFILES += pooltype.tex
240 ## {pdftexdir,xetexdir,ptexdir,uptexdir}/wcfname.test
241 EXTRA_DIST += tests/fn-generate.perl
242 EXTRA_DIST += tests/fn-utf8.txt tests/fn-euc.txt tests/fn-sjis.txt
243 ## uptexdir/uptex-ofm.test, euptexdir/euptex-ofm.test
244 EXTRA_DIST += tests/uctt10x.opl tests/uctt10x.ofm
245 EXTRA_DIST += tests/uctt10x.ovp tests/uctt10x.ovf
246
247 ## Test data
248 ##
249 EXTRA_DIST += \
250 tests/allbib.aux \
251 tests/allbib.tex \
252 tests/apalike.bst \
253 tests/badpl.pl \
254 tests/badtfm.tfm \
255 tests/badvf.tfm \
256 tests/badvf.vf \
257 tests/badvpl.vpl \
258 tests/batch.tex \
259 tests/check.log \
260 tests/cmr10.600gf \
261 tests/cmr10.pk \
262 tests/cmr10.pl \
263 tests/cmr10.tfm \
264 tests/cmr7.tfm \
265 tests/cmr8.tfm \
266 tests/cmti10.tfm \
267 tests/cmtt10.tfm \
268 tests/cmtt8.tfm \
269 tests/dict \
270 tests/eight.tex \
271 tests/end.tex \
272 tests/exampl.aux \
273 tests/exampl.tex \
274 tests/gray.tfm \
275 tests/hello.tex \
276 tests/io.mf \
277 tests/just.texi \
278 tests/label.mp \
279 tests/label.mpx \
280 tests/logo8.tfm \
281 tests/longline.aux \
282 tests/longline.bib \
283 tests/longline.tex \
284 tests/longtfm.tex \
285 tests/magic.tex \
286 tests/memtest.tex \
287 tests/mltextst.tex \
288 tests/mptest.mp \
289 tests/mptest.mpx \
290 tests/one.two.mf \
291 tests/one.two.mp \
292 tests/one.two.tex \
293 tests/online.mf \
294 tests/openout.mp \
295 tests/openout.tex \
296 tests/pagenum.dvi \
297 tests/pagenum.tex \
298 tests/patgen.in \
299 tests/patterns \
300 tests/plain.mft \
301 tests/pplr.dvi \
302 tests/pplr.tfm \
303 tests/ptmr.dvi \
304 tests/ptmr.tfm \
305 tests/ptmr.vf \
306 tests/ptmr.vpl \
307 tests/rpsyr.tfm \
308 tests/rptmr.tfm \
309 tests/story.dvi \
310 tests/testex.err \
311 tests/testex.mp \
312 tests/testex.tex \
313 tests/translate \
314 tests/uno.dos \
315 tests/xampl.bib
316