summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-28 09:29:46 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-28 09:29:46 +0000
commit36701c8f42a42bbdcb3946c4ca5ba24f2440478f (patch)
tree573a53a1fe3545972829678f16cbd33f7137478b /Build/source/texk/web2c/am
parentacead4a9aec4369046ab1eca84fec5e7308099fa (diff)
build system: check for working 'ln -s'
git-svn-id: svn://tug.org/texlive/trunk@13506 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/am')
-rw-r--r--Build/source/texk/web2c/am/bootstrap.am7
1 files changed, 3 insertions, 4 deletions
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 \