summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/am/bootstrap.am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-30 15:18:57 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-30 15:18:57 +0000
commit8a23c7720d1a8b66390a3c4e0ee3de44f0235fa5 (patch)
tree8a26353a4d25ad850e00f8a6b5e48fe142428e20 /Build/source/texk/web2c/am/bootstrap.am
parent3f5b20518e48bd5629297fecb481a68248b5b02a (diff)
fix $(EXEEXT) problems
git-svn-id: svn://tug.org/texlive/trunk@12574 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/am/bootstrap.am')
-rw-r--r--Build/source/texk/web2c/am/bootstrap.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/am/bootstrap.am b/Build/source/texk/web2c/am/bootstrap.am
index a8395d1870f..734d059c83b 100644
--- a/Build/source/texk/web2c/am/bootstrap.am
+++ b/Build/source/texk/web2c/am/bootstrap.am
@@ -27,6 +27,11 @@ 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
@@ -51,6 +56,11 @@ 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.
@@ -66,6 +76,11 @@ ctangle.c: ctangleboot cwebdir/ctangle.w cwebdir/ctang-w2c.ch
cweb.c: ctangleboot 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
@@ -99,6 +114,11 @@ 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