summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds4
-rwxr-xr-xMaster/tlpkg/libexec/mptopdf-extract8
2 files changed, 11 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 7bb103f23e4..9f456d64611 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -4929,7 +4929,9 @@ sub POSTcontext {
# remove mptopdf files, since they are in a separate package.
chomp (my @mptopdf_files = `tlpfiles mptopdf | sed 's,[^/]*/,,'`);
- &SYSTEM ("$RM -f @mptopdf_files");
+ &SYSTEM ("$RM -f @mptopdf_files ");
+ &SYSTEM ("$RM doc/context/scripts/mkii/mptopdf.man");
+ &SYSTEM ("$RM scripts/context/stubs/mswin/mptopdf.exe");
print "still POST$package - user-level executables\n";
# similar to biber, executables go in both the Master bin dir and the
diff --git a/Master/tlpkg/libexec/mptopdf-extract b/Master/tlpkg/libexec/mptopdf-extract
index f959721a68f..530f64ef6bc 100755
--- a/Master/tlpkg/libexec/mptopdf-extract
+++ b/Master/tlpkg/libexec/mptopdf-extract
@@ -12,9 +12,17 @@ if test -z "$files"; then
exit 1
fi
+# Add man page in cont-tmf location:
+files="$files doc/context/scripts/mkii/mptopdf.man"
+
+# Add w32 .exe stub too:
+files="$files scripts/context/stubs/mswin/mptopdf.exe"
+
# We will extract them from the current context release.
ctan=/home/ftp/mirror/rsync.tex.ac.uk/CTAN
context_zip=$ctan/macros/context/current/cont-tmf.zip
+# eventually ...
+context_zip=/home/ftp/mirror/www.pragma-ade.com/context/beta/cont-tmf.zip
if test ! -s $context_zip; then
echo "$0: no context zip:" >&2
ls -l $context_zip >&2