summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mplibdir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-25 08:57:10 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-25 08:57:10 +0000
commit622523bd36859ef50591a5e4696bf803ca30a87d (patch)
tree35110aa7a4fdc09bc8f5aa1d05c6ca650a3929a3 /Build/source/texk/web2c/mplibdir
parenta56a73513bf578364f05d8484f43af300ffa26ae (diff)
handling of texlua, texluac, and dvitomp symlinks
git-svn-id: svn://tug.org/texlive/trunk@13456 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.am7
2 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog
index e0c3e650895..ed97ac67f76 100644
--- a/Build/source/texk/web2c/mplibdir/ChangeLog
+++ b/Build/source/texk/web2c/mplibdir/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-25 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * am/.am (install-exec-hook, uninstall-hook): new targets
+ to (un)install dvitomp symlink.
+
2009-05-13 Peter Breitenlohner <peb@mppmu.mpg.de>
* mptrap.test (new): Shell script for MPTRAP test.
diff --git a/Build/source/texk/web2c/mplibdir/am/mplib.am b/Build/source/texk/web2c/mplibdir/am/mplib.am
index cc5fa19e19f..891a9ef3fec 100644
--- a/Build/source/texk/web2c/mplibdir/am/mplib.am
+++ b/Build/source/texk/web2c/mplibdir/am/mplib.am
@@ -38,6 +38,13 @@ EXTRA_DIST += mplibdir/ChangeLog $(mpost_web)
DISTCLEANFILES += $(nodist_mpost_SOURCES) mpxout-ctangle
+# Double-colon rule since we do something similar in luatexdir (maybe others).
+install-exec-hook::
+ cd $(DESTDIR)$(bindir) && rm -f dvitomp$(EXEEXT) \
+ && $(LN_S) mpost$(EXEEXT) dvitomp$(EXEEXT)
+uninstall-hook::
+ rm -f $(DESTDIR)$(bindir)/dvitomp$(EXEEXT)
+
## MetaPost Tests
##
mp_tests = mplibdir/mptrap.test