summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-01 13:05:32 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-01 13:05:32 +0000
commit03af13bb7efa4ff54513f221db66312562a3cfda (patch)
tree29f698f57a666eefdf158781aa3c1c59cd23e078 /Build/source/texk/web2c/luatexdir/am
parent3b09a3687727014a9b864942fb2e790292a67ced (diff)
avoid to install dangling symlinks
git-svn-id: svn://tug.org/texlive/trunk@13558 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/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 \