diff options
Diffstat (limited to 'Build/source/texk/web2c/am')
-rw-r--r-- | Build/source/texk/web2c/am/bootstrap.am | 28 | ||||
-rw-r--r-- | Build/source/texk/web2c/am/cweb.am | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/am/web.am | 34 |
3 files changed, 24 insertions, 44 deletions
diff --git a/Build/source/texk/web2c/am/bootstrap.am b/Build/source/texk/web2c/am/bootstrap.am index 734d059c83b..3b91ffe67c5 100644 --- a/Build/source/texk/web2c/am/bootstrap.am +++ b/Build/source/texk/web2c/am/bootstrap.am @@ -14,7 +14,7 @@ tangle-web2c: tangle.p ## which we use to make the other programs. We depend on tangleboot, even ## though we might not use it. EXTRA_DIST += tangle.web tangle.ch -tangle.p: tangleboot tangle.web tangle.ch +tangle.p: tangleboot$(EXEEXT) tangle.web tangle.ch WEBINPUTS=.:$(srcdir) $(tangleboot) tangle tangle tangle.web: @echo "You seem to be missing tangle.web, perhaps because you" >&2 @@ -27,11 +27,6 @@ tangle.web: @echo "ftp://ftp.tug.org/tex/web.tar.gz." >&2 false DISTCLEANFILES += tangle.c tangle.h tangle.p tangle-web2c -if HAVE_EXEEXT -tangle: tangle$(EXEEXT) - echo timestamp >$@ -CLEANFILES += tangle -endif HAVE_EXEEXT noinst_PROGRAMS += tangleboot nodist_tangleboot_SOURCES = tangleboot.c tangleboot.h @@ -56,11 +51,6 @@ tangleboot.p: tangle.web tangle.ch date >stamp-tangle $(MAKE) $(AM_MAKEFLAGS) tangle$(EXEEXT) DISTCLEANFILES += stamp-tangle tangleboot.c tangleboot.h -if HAVE_EXEEXT -tangleboot: tangleboot$(EXEEXT) - echo timestamp >$@ -CLEANFILES += tangleboot -endif HAVE_EXEEXT ## Bootstrapping ctangle requires making it with itself. We use the opportunity ## to create an up-to-date ctangleboot as well. @@ -71,16 +61,11 @@ nodist_ctangle_SOURCES = ctangle.c cweb.c EXTRA_DIST += cwebdir ## We install man/cweb.man, not cwebdir/cweb.1 ## nodist_man_MANS += cwebdir/cweb.1 -ctangle.c: ctangleboot cwebdir/ctangle.w cwebdir/ctang-w2c.ch +ctangle.c: ctangleboot$(EXEEXT) cwebdir/ctangle.w cwebdir/ctang-w2c.ch CWEBINPUTS=$(srcdir)/cwebdir $(ctangleboot) ctangle ctang-w2c -cweb.c: ctangleboot cwebdir/common.w cwebdir/comm-w2c.ch +cweb.c: ctangleboot$(EXEEXT) cwebdir/common.w cwebdir/comm-w2c.ch CWEBINPUTS=$(srcdir)/cwebdir $(ctangleboot) common comm-w2c cweb.c DISTCLEANFILES += ctangle.c cweb.c -if HAVE_EXEEXT -ctangle: ctangle$(EXEEXT) - echo timestamp >$@ -CLEANFILES += ctangle -endif HAVE_EXEEXT noinst_PROGRAMS += ctangleboot nodist_ctangleboot_SOURCES = ctangleboot.c cwebboot.c @@ -114,14 +99,9 @@ cwebboot.c: cwebdir/common.w cwebdir/comm-w2c.ch date >stamp-ctangle $(MAKE) $(AM_MAKEFLAGS) ctangle$(EXEEXT) DISTCLEANFILES += stamp-ctangle -if HAVE_EXEEXT -ctangleboot: ctangleboot$(EXEEXT) - echo timestamp >$@ -CLEANFILES += ctangleboot -endif HAVE_EXEEXT ## Tests - +## dist_check_SCRIPTS += tangle.test TESTS += tangle.test diff --git a/Build/source/texk/web2c/am/cweb.am b/Build/source/texk/web2c/am/cweb.am index 7bdbde25a19..9cb6692121d 100644 --- a/Build/source/texk/web2c/am/cweb.am +++ b/Build/source/texk/web2c/am/cweb.am @@ -4,13 +4,13 @@ bin_PROGRAMS += ctie nodist_ctie_SOURCES = ctie.c EXTRA_DIST += ctiedir nodist_man_MANS += ctiedir/ctie.1 -ctie.c: ctangle ctiedir/ctie.w ctiedir/ctie-k.ch +ctie.c: ctangle$(EXEEXT) ctiedir/ctie.w ctiedir/ctie-k.ch CWEBINPUTS=$(srcdir)/ctiedir $(ctangle) ctie.w ctie-k.ch DISTCLEANFILES += ctie.c bin_PROGRAMS += cweave nodist_cweave_SOURCES = cweave.c cweb.c -cweave.c: ctangle cwebdir/cweave.w cwebdir/cweav-w2c.ch +cweave.c: ctangle$(EXEEXT) cwebdir/cweave.w cwebdir/cweav-w2c.ch CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) cweave cweav-w2c DISTCLEANFILES += cweave.c @@ -18,7 +18,7 @@ bin_PROGRAMS += tie nodist_tie_SOURCES = tie.c EXTRA_DIST += tiedir nodist_man_MANS += tiedir/tie.1 -tie.c: ctangle tiedir/tie.w tiedir/tie-w2c.ch +tie.c: ctangle$(EXEEXT) tiedir/tie.w tiedir/tie-w2c.ch CWEBINPUTS=$(srcdir)/tiedir $(ctangle) tie.w tie-w2c.ch DISTCLEANFILES += tie.c diff --git a/Build/source/texk/web2c/am/web.am b/Build/source/texk/web2c/am/web.am index 809dfb61238..6e479078515 100644 --- a/Build/source/texk/web2c/am/web.am +++ b/Build/source/texk/web2c/am/web.am @@ -18,7 +18,7 @@ bibtex-web2c: $(web2c_common) $(web2c_programs) web2c/cvtbib.sed bibtex.p $(web2c) bibtex echo timestamp >$@ touch bibtex.c bibtex.h -bibtex.p: tangle bibtex.web bibtex.ch +bibtex.p: tangle$(EXEEXT) bibtex.web bibtex.ch $(tangle) bibtex bibtex nodist_dvicopy_SOURCES = dvicopy.c dvicopy.h @@ -27,7 +27,7 @@ dvicopy-web2c: $(web2c_common) $(web2c_programs) dvicopy.p $(web2c) dvicopy echo timestamp >$@ touch dvicopy.c dvicopy.h -dvicopy.p: tangle dvicopy.web dvicopy.ch +dvicopy.p: tangle$(EXEEXT) dvicopy.web dvicopy.ch $(tangle) dvicopy dvicopy nodist_dvitomp_SOURCES = dvitomp.c dvitomp.h @@ -36,7 +36,7 @@ dvitomp-web2c: $(web2c_common) $(web2c_programs) dvitomp.p $(web2c) dvitomp echo timestamp >$@ touch dvitomp.c dvitomp.h -dvitomp.p: tangle dvitomp.web dvitomp.ch +dvitomp.p: tangle$(EXEEXT) dvitomp.web dvitomp.ch $(tangle) dvitomp dvitomp nodist_dvitype_SOURCES = dvitype.c dvitype.h @@ -45,7 +45,7 @@ dvitype-web2c: $(web2c_common) $(web2c_programs) dvitype.p $(web2c) dvitype echo timestamp >$@ touch dvitype.c dvitype.h -dvitype.p: tangle dvitype.web dvitype.ch +dvitype.p: tangle$(EXEEXT) dvitype.web dvitype.ch $(tangle) dvitype dvitype nodist_gftodvi_SOURCES = gftodvi.c gftodvi.h @@ -54,7 +54,7 @@ gftodvi-web2c: $(web2c_common) $(web2c_programs) gftodvi.p $(web2c) gftodvi echo timestamp >$@ touch gftodvi.c gftodvi.h -gftodvi.p: tangle gftodvi.web gftodvi.ch +gftodvi.p: tangle$(EXEEXT) gftodvi.web gftodvi.ch $(tangle) gftodvi gftodvi gftodvi_SOURCES = gftodmem.h @@ -64,7 +64,7 @@ gftopk-web2c: $(web2c_common) $(web2c_programs) gftopk.p $(web2c) gftopk echo timestamp >$@ touch gftopk.c gftopk.h -gftopk.p: tangle gftopk.web gftopk.ch +gftopk.p: tangle$(EXEEXT) gftopk.web gftopk.ch $(tangle) gftopk gftopk nodist_gftype_SOURCES = gftype.c gftype.h @@ -73,7 +73,7 @@ gftype-web2c: $(web2c_common) $(web2c_programs) gftype.p $(web2c) gftype echo timestamp >$@ touch gftype.c gftype.h -gftype.p: tangle gftype.web gftype.ch +gftype.p: tangle$(EXEEXT) gftype.web gftype.ch $(tangle) gftype gftype nodist_mft_SOURCES = mft.c mft.h @@ -82,7 +82,7 @@ mft-web2c: $(web2c_common) $(web2c_programs) mft.p $(web2c) mft echo timestamp >$@ touch mft.c mft.h -mft.p: tangle mft.web mft.ch +mft.p: tangle$(EXEEXT) mft.web mft.ch $(tangle) mft mft nodist_patgen_SOURCES = patgen.c patgen.h @@ -91,7 +91,7 @@ patgen-web2c: $(web2c_common) $(web2c_programs) patgen.p $(web2c) patgen echo timestamp >$@ touch patgen.c patgen.h -patgen.p: tangle patgen.web patgen.ch +patgen.p: tangle$(EXEEXT) patgen.web patgen.ch $(tangle) patgen patgen nodist_pktogf_SOURCES = pktogf.c pktogf.h @@ -100,7 +100,7 @@ pktogf-web2c: $(web2c_common) $(web2c_programs) pktogf.p $(web2c) pktogf echo timestamp >$@ touch pktogf.c pktogf.h -pktogf.p: tangle pktogf.web pktogf.ch +pktogf.p: tangle$(EXEEXT) pktogf.web pktogf.ch $(tangle) pktogf pktogf nodist_pktype_SOURCES = pktype.c pktype.h @@ -109,7 +109,7 @@ pktype-web2c: $(web2c_common) $(web2c_programs) pktype.p $(web2c) pktype echo timestamp >$@ touch pktype.c pktype.h -pktype.p: tangle pktype.web pktype.ch +pktype.p: tangle$(EXEEXT) pktype.web pktype.ch $(tangle) pktype pktype nodist_pltotf_SOURCES = pltotf.c pltotf.h @@ -118,7 +118,7 @@ pltotf-web2c: $(web2c_common) $(web2c_programs) pltotf.p $(web2c) pltotf echo timestamp >$@ touch pltotf.c pltotf.h -pltotf.p: tangle pltotf.web pltotf.ch +pltotf.p: tangle$(EXEEXT) pltotf.web pltotf.ch $(tangle) pltotf pltotf nodist_pooltype_SOURCES = pooltype.c pooltype.h @@ -127,7 +127,7 @@ pooltype-web2c: $(web2c_common) $(web2c_programs) pooltype.p $(web2c) pooltype echo timestamp >$@ touch pooltype.c pooltype.h -pooltype.p: tangle pooltype.web pooltype.ch +pooltype.p: tangle$(EXEEXT) pooltype.web pooltype.ch $(tangle) pooltype pooltype nodist_tftopl_SOURCES = tftopl.c tftopl.h @@ -136,7 +136,7 @@ tftopl-web2c: $(web2c_common) $(web2c_programs) tftopl.p $(web2c) tftopl echo timestamp >$@ touch tftopl.c tftopl.h -tftopl.p: tangle tftopl.web tftopl.ch +tftopl.p: tangle$(EXEEXT) tftopl.web tftopl.ch $(tangle) tftopl tftopl nodist_vftovp_SOURCES = vftovp.c vftovp.h @@ -145,7 +145,7 @@ vftovp-web2c: $(web2c_common) $(web2c_programs) vftovp.p $(web2c) vftovp echo timestamp >$@ touch vftovp.c vftovp.h -vftovp.p: tangle vftovp.web vftovp.ch +vftovp.p: tangle$(EXEEXT) vftovp.web vftovp.ch $(tangle) vftovp vftovp nodist_vptovf_SOURCES = vptovf.c vptovf.h @@ -154,7 +154,7 @@ vptovf-web2c: $(web2c_common) $(web2c_programs) vptovf.p $(web2c) vptovf echo timestamp >$@ touch vptovf.c vptovf.h -vptovf.p: tangle vptovf.web vptovf.ch +vptovf.p: tangle$(EXEEXT) vptovf.web vptovf.ch $(tangle) vptovf vptovf nodist_weave_SOURCES = weave.c weave.h @@ -163,5 +163,5 @@ weave-web2c: $(web2c_common) $(web2c_programs) weave.p $(web2c) weave echo timestamp >$@ touch weave.c weave.h -weave.p: tangle weave.web weave.ch +weave.p: tangle$(EXEEXT) weave.web weave.ch $(tangle) weave weave |