summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir
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/luatexdir
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/luatexdir')
-rw-r--r--Build/source/texk/web2c/luatexdir/am/luatex.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/am/luatex.am b/Build/source/texk/web2c/luatexdir/am/luatex.am
index f7e35d1010b..04b3a0d7033 100644
--- a/Build/source/texk/web2c/luatexdir/am/luatex.am
+++ b/Build/source/texk/web2c/luatexdir/am/luatex.am
@@ -5,6 +5,7 @@
if LUATEX
bin_PROGRAMS += luatex
endif LUATEX
+EXTRA_PROGRAMS += luatex
## Force Automake to use CXXLD for linking
nodist_EXTRA_luatex_SOURCES = dummy.cxx
@@ -65,6 +66,7 @@ DISTCLEANFILES += $(nodist_luatex_SOURCES) luatex-web2c \
if LUATEX
bin_PROGRAMS += luatangle
endif LUATEX
+EXTRA_PROGRAMS += luatangle
nodist_luatangle_SOURCES = luatangle.c luatangle.h
luatangle.c luatangle.h: $(web2c_common) $(web2c_programs) luatangle.p
@@ -74,6 +76,11 @@ luatangle_sources = luatexdir/luatangle.web luatexdir/luatangle.ch
luatangle.p: tangle $(luatangle_sources)
WEBINPUTS=$(srcdir)/luatexdir $(buildenv) $(TANGLE) luatangle luatangle
DISTCLEANFILES += luatangle.c luatangle.h luatangle.p
+if HAVE_EXEEXT
+luatangle: luatangle$(EXEEXT)
+ echo timestamp >$@
+CLEANFILES += luatangle
+endif HAVE_EXEEXT
## liblua51
##