diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-01 13:05:32 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-01 13:05:32 +0000 |
commit | 03af13bb7efa4ff54513f221db66312562a3cfda (patch) | |
tree | 29f698f57a666eefdf158781aa3c1c59cd23e078 | |
parent | 3b09a3687727014a9b864942fb2e790292a67ced (diff) |
avoid to install dangling symlinks
git-svn-id: svn://tug.org/texlive/trunk@13558 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/am/luatex.am | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/mplibdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/mplibdir/am/mplib.am | 4 |
4 files changed, 16 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index f22de8be119..b8d9ee84def 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,8 @@ +2009-05-30 Peter Breitenlohner <peb@mppmu.mpg.de> + + * am/luatex.am (install-exec-hook, uninstall-hook): + avoid dangling symlinks. + 2009-05-25 Peter Breitenlohner <peb@mppmu.mpg.de> * am/luatex.am (uninstall-hook): new target to uninstall texlua[c] 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 \ diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog index 58c2d5aa0c2..a52b9ef27fd 100644 --- a/Build/source/texk/web2c/mplibdir/ChangeLog +++ b/Build/source/texk/web2c/mplibdir/ChangeLog @@ -1,3 +1,8 @@ +2009-05-30 Peter Breitenlohner <peb@mppmu.mpg.de> + + * am/mplib.am (install-exec-hook, uninstall-hook): + avoid dangling symlinks. + 2009-05-25 Peter Breitenlohner <peb@mppmu.mpg.de> * dvitomp.test (new): Shell script to test dvitomp. diff --git a/Build/source/texk/web2c/mplibdir/am/mplib.am b/Build/source/texk/web2c/mplibdir/am/mplib.am index bdd46e7af0d..a4deeeb5c6d 100644 --- a/Build/source/texk/web2c/mplibdir/am/mplib.am +++ b/Build/source/texk/web2c/mplibdir/am/mplib.am @@ -38,12 +38,14 @@ EXTRA_DIST += mplibdir/ChangeLog $(mpost_web) DISTCLEANFILES += $(nodist_mpost_SOURCES) mpxout-ctangle -# Double-colon rule since we do something similar in luatexdir (maybe others). +# Double-colon rules since we do something similar in luatexdir (maybe others). +if MP install-exec-hook:: cd $(DESTDIR)$(bindir) && rm -f dvitomp$(EXEEXT) \ && $(LN_S) mpost$(EXEEXT) dvitomp$(EXEEXT) uninstall-hook:: rm -f $(DESTDIR)$(bindir)/dvitomp$(EXEEXT) +endif MP ## MetaPost Tests ## |