summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/am/luatex.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/am/luatex.am')
-rw-r--r--Build/source/texk/web2c/luatexdir/am/luatex.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/am/luatex.am b/Build/source/texk/web2c/luatexdir/am/luatex.am
index 8a82cafea92..c7512a30265 100644
--- a/Build/source/texk/web2c/luatexdir/am/luatex.am
+++ b/Build/source/texk/web2c/luatexdir/am/luatex.am
@@ -58,7 +58,8 @@ 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 mplibdir (maybe others).
+# Double-colon rules since we do something similar in mplibdir (maybe others).
+if LUATEX
install-exec-hook::
cd $(DESTDIR)$(bindir) && rm -f texlua$(EXEEXT) \
&& $(LN_S) luatex$(EXEEXT) texlua$(EXEEXT)
@@ -67,6 +68,7 @@ install-exec-hook::
uninstall-hook::
rm -f $(DESTDIR)$(bindir)/texlua$(EXEEXT)
rm -f $(DESTDIR)$(bindir)/texluac$(EXEEXT)
+endif LUATEX
EXTRA_DIST += $(luatex_sources) \
luatexdir/luatex.defines \