summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mplibdir
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/mplibdir
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/mplibdir')
-rw-r--r--Build/source/texk/web2c/mplibdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/mplibdir/am/mplib.am4
2 files changed, 8 insertions, 1 deletions
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
##