summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir')
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/luatexdir/am/luatex.am8
2 files changed, 12 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index ede944cfb99..74f19681a76 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-25 Karl Berry <karl@tug.org>
+
+ * am/luatex.am (install-exec-hook): new target to install texlua[c]
+ symlinks.
+
2009-05-08 Taco Hoekwater <taco@luatex.org>
* luatexdir: import of the current state of luatex, 0.40.1.
diff --git a/Build/source/texk/web2c/luatexdir/am/luatex.am b/Build/source/texk/web2c/luatexdir/am/luatex.am
index 769f443a41e..9d232bd5f1e 100644
--- a/Build/source/texk/web2c/luatexdir/am/luatex.am
+++ b/Build/source/texk/web2c/luatexdir/am/luatex.am
@@ -58,6 +58,13 @@ luatexdir/luatexextra.h: luatexdir/luatexextra.in luatexdir/luatex.version
sed -e s/LUATEX-VERSION/`cat luatexdir/luatex.version`/ \
$(srcdir)/luatexdir/luatexextra.in >$@
+# Double-colon rule since we do something similar in mpdir (maybe others).
+install-exec-hook::
+ cd $(DESTDIR)$(bindir) && rm -f texlua$(EXEEXT) \
+ && ln -s luatex$(EXEEXT) texlua$(EXEEXT)
+ cd $(DESTDIR)$(bindir) && rm -f texluac$(EXEEXT) \
+ && ln -s luatex$(EXEEXT) texluac$(EXEEXT)
+
EXTRA_DIST += $(luatex_sources) \
luatexdir/luatex.defines \
luatexdir/luatexextra.in \
@@ -65,4 +72,3 @@ EXTRA_DIST += $(luatex_sources) \
DISTCLEANFILES += $(nodist_luatex_SOURCES) luatex-web2c \
luatex.p luatex.pool luatex-tangle luatexdir/luatex.version
-