summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r--Build/source/texk/web2c/Makefile.in7
-rw-r--r--Build/source/texk/web2c/am/bootstrap.am7
2 files changed, 6 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/Makefile.in b/Build/source/texk/web2c/Makefile.in
index c302087cc8d..4e8b8309790 100644
--- a/Build/source/texk/web2c/Makefile.in
+++ b/Build/source/texk/web2c/Makefile.in
@@ -7831,6 +7831,7 @@ ctangle.c: ctangleboot$(EXEEXT) cwebdir/ctangle.w cwebdir/ctang-w2c.ch
cweb.c: ctangleboot$(EXEEXT) cwebdir/common.w cwebdir/comm-w2c.ch
CWEBINPUTS=$(srcdir)/cwebdir $(ctangleboot) common comm-w2c cweb.c
# ctangleboot.c and cwebboot.c are in the distribution
+$(ctangleboot_OBJECTS): stamp-ctangle
stamp-ctangle: ctangleboot.c cwebboot.c
date >stamp-ctangle
# This is not run unless one of the cwebdir/* files is changed.
@@ -7839,8 +7840,7 @@ stamp-ctangle: ctangleboot.c cwebboot.c
# We must serialize this.
ctangleboot.c: cwebboot.c cwebdir/ctangle.w cwebdir/ctang-w2c.ch
if [ -r $(CTANGLE) ] || [ -r $(CTANGLE).exe ]; then \
- CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) ctangle ctang-w2c; \
- mv ctangle.c ctangleboot.c; \
+ CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) ctangle ctang-w2c ctangleboot.c; \
elif [ -r ctangleboot.c ]; then \
touch ctangleboot.c; \
else \
@@ -7850,8 +7850,7 @@ ctangleboot.c: cwebboot.c cwebdir/ctangle.w cwebdir/ctang-w2c.ch
$(MAKE) $(AM_MAKEFLAGS) ctangle$(EXEEXT)
cwebboot.c: cwebdir/common.w cwebdir/comm-w2c.ch
if [ -r $(CTANGLE) ] || [ -r $(CTANGLE).exe ]; then \
- CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) common comm-w2c cweb.c; \
- mv cweb.c cwebboot.c; \
+ CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) common comm-w2c cwebboot.c; \
elif [ -r cwebboot.c ]; then \
touch cwebboot.c; \
else \
diff --git a/Build/source/texk/web2c/am/bootstrap.am b/Build/source/texk/web2c/am/bootstrap.am
index 2ffcac6eb5b..e7191ae311a 100644
--- a/Build/source/texk/web2c/am/bootstrap.am
+++ b/Build/source/texk/web2c/am/bootstrap.am
@@ -73,6 +73,7 @@ DISTCLEANFILES += ctangle.c cweb.c
noinst_PROGRAMS += ctangleboot
nodist_ctangleboot_SOURCES = ctangleboot.c cwebboot.c
# ctangleboot.c and cwebboot.c are in the distribution
+$(ctangleboot_OBJECTS): stamp-ctangle
stamp-ctangle: ctangleboot.c cwebboot.c
date >stamp-ctangle
EXTRA_DIST += ctangleboot.c cwebboot.c
@@ -82,8 +83,7 @@ EXTRA_DIST += ctangleboot.c cwebboot.c
# We must serialize this.
ctangleboot.c: cwebboot.c cwebdir/ctangle.w cwebdir/ctang-w2c.ch
if [ -r $(CTANGLE) ] || [ -r $(CTANGLE).exe ]; then \
- CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) ctangle ctang-w2c; \
- mv ctangle.c ctangleboot.c; \
+ CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) ctangle ctang-w2c ctangleboot.c; \
elif [ -r ctangleboot.c ]; then \
touch ctangleboot.c; \
else \
@@ -93,8 +93,7 @@ ctangleboot.c: cwebboot.c cwebdir/ctangle.w cwebdir/ctang-w2c.ch
$(MAKE) $(AM_MAKEFLAGS) ctangle$(EXEEXT)
cwebboot.c: cwebdir/common.w cwebdir/comm-w2c.ch
if [ -r $(CTANGLE) ] || [ -r $(CTANGLE).exe ]; then \
- CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) common comm-w2c cweb.c; \
- mv cweb.c cwebboot.c; \
+ CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) common comm-w2c cwebboot.c; \
elif [ -r cwebboot.c ]; then \
touch cwebboot.c; \
else \