diff options
author | Norbert Preining <preining@logic.at> | 2008-04-28 08:33:48 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-04-28 08:33:48 +0000 |
commit | 6b4bb4d5747a2819cb015fcfe7e6a7521580adbb (patch) | |
tree | 07c4fe733b92009c605d9783713eb8dde18629db /Master | |
parent | 90875ef20be41111d4adf34a5691306f92bd1fc1 (diff) |
add dvipdfmx.cfg copy
git-svn-id: svn://tug.org/texlive/trunk@7694 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/install-tl | 17 |
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"); |