summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 061105b6245..28bcaa2595c 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -805,6 +805,7 @@ sub do_postinst_stuff {
# those files must exist
copy ("$TEXDIR/texmf/dvips/config/config.ps",
"$TEXMFSYSVAR/dvips/config");
+
# now we have to fix up dvipdfm config file to contain the right
# piping command
mkdirhier("$TEXMFSYSVAR/dvipdfm/config");
@@ -823,6 +824,22 @@ sub do_postinst_stuff {
close(DVIPDFMCONFIGINST);
#copy ("$TEXDIR/texmf/dvipdfm/config/config",
# "$TEXMFSYSVAR/dvipdfm/config");
+ #
+ # dvipdfmx.cfg
+ open(DVIPDFMCONFIGDIST, "<$TEXDIR/texmf/dvipdfm/dvipdfmx.cfg")
+ or die("Cannot open $TEXDIR/texmf/dvipdfm/dvipdfmx.cfg");
+ open(DVIPDFMCONFIGINST, ">$TEXMFSYSVAR/dvipdfm/dvipdfmx.cfg")
+ or die("Cannot open $TEXMFSYSVAR/dvipdfm/dvipdfmx.cfg");
+ while (<DVIPDFMCONFIGDIST>) {
+ # we still don't know what to do with dvipdfmx.cfg invocation
+ # if (m/^D /) {
+ # print DVIPDFMCONFIGINST 'D "epstopdf --outfile=%o --nocompress %i"', "\n";
+ #} else {
+ print DVIPDFMCONFIGINST;
+ #}
+ }
+ close(DVIPDFMCONFIGDIST);
+ close(DVIPDFMCONFIGINST);
copy ("$TEXDIR/texmf/web2c/mktex.cnf",
"$TEXMFSYSVAR/web2c");