summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mplibdir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-25 13:57:51 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-25 13:57:51 +0000
commitd8a3e1e0ee206a616a1e7f09f17b1b039a272bc4 (patch)
treee92a17253daea37906a3bfb1611fde2679d0ac02 /Build/source/texk/web2c/mplibdir
parentb50e8d78f4b4b86177863a60bc85f5cd393ba04b (diff)
remove mpware/ and old (Pascal Web) mpost and dvitomp
git-svn-id: svn://tug.org/texlive/trunk@13458 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
-rwxr-xr-xBuild/source/texk/web2c/mplibdir/dvitomp.test21
3 files changed, 29 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog
index ed97ac67f76..58c2d5aa0c2 100644
--- a/Build/source/texk/web2c/mplibdir/ChangeLog
+++ b/Build/source/texk/web2c/mplibdir/ChangeLog
@@ -1,5 +1,10 @@
2009-05-25 Peter Breitenlohner <peb@mppmu.mpg.de>
+ * dvitomp.test (new): Shell script to test dvitomp.
+ * am/mplib.am: Added dvitomp.test.
+
+2009-05-25 Peter Breitenlohner <peb@mppmu.mpg.de>
+
* am/.am (install-exec-hook, uninstall-hook): new targets
to (un)install dvitomp symlink.
diff --git a/Build/source/texk/web2c/mplibdir/am/mplib.am b/Build/source/texk/web2c/mplibdir/am/mplib.am
index 891a9ef3fec..bdd46e7af0d 100644
--- a/Build/source/texk/web2c/mplibdir/am/mplib.am
+++ b/Build/source/texk/web2c/mplibdir/am/mplib.am
@@ -47,7 +47,7 @@ uninstall-hook::
## MetaPost Tests
##
-mp_tests = mplibdir/mptrap.test
+mp_tests = mplibdir/dvitomp.test mplibdir/mptrap.test
EXTRA_DIST += $(mp_tests)
@@ -58,6 +58,8 @@ endif MP
.PHONY: mptrap-clean
clean-local:: mptrap-clean
+## dvitomp.test
+DISTCLEANFILES += ptmr.mpx tests/xptmr.mpx tests/xstory.mpx
## mptrap.test
mptrap-clean:
rm -f mtrap.mp mtrap.mem trapf.tfm
diff --git a/Build/source/texk/web2c/mplibdir/dvitomp.test b/Build/source/texk/web2c/mplibdir/dvitomp.test
new file mode 100755
index 00000000000..c2f91463f96
--- /dev/null
+++ b/Build/source/texk/web2c/mplibdir/dvitomp.test
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+test -d tests || mkdir -p tests
+
+if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
+
+ TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=`dirname $tfmpath` \
+ ./mpost --dvitomp $srcdir/tests/story.dvi tests/xstory.mpx || exit 1
+
+fi
+
+TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=$srcdir/tests \
+ VFFONTS=$srcdir/tests: \
+ ./mpost --dvitomp $srcdir/tests/ptmr ptmr.mpx && \
+ mv ptmr.mpx tests/xptmr.mpx || exit 1
+