summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/updmap.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/texlive/updmap.pl b/Master/texmf-dist/scripts/texlive/updmap.pl
index ed70e2b7e7a..0b3c508aad8 100755
--- a/Master/texmf-dist/scripts/texlive/updmap.pl
+++ b/Master/texmf-dist/scripts/texlive/updmap.pl
@@ -18,7 +18,6 @@
# TODO
# - check all other invocations
# - after TL2012? Maybe remove support for reading updmap-local.cfg
-#
my $TEXMFROOT;
@@ -431,7 +430,7 @@ sub main {
setupOutputDir("dvips");
setupOutputDir("pdftex");
setupOutputDir("dvipdfmx");
- setupOutputDir("pxdvi");
+ # do pxdvi below, in mkmaps.
merge_settings_replace_kanji();
my @missing = read_map_files();
if (@missing) {
@@ -971,6 +970,10 @@ sub mkMaps {
my ($kanjiEmbed, $kanjiEmbed_origin) = get_cfg('kanjiEmbed');
my ($kanjiVariant, $kanjiVariant_origin) = get_cfg('kanjiVariant');
+ # pxdvi is optional, and off by default. Don't create the output
+ # directory unless we are going to put something there.
+ setupOutputDir("pxdvi") if $pxdviUse eq "true";
+
print_and_log ("\n$prg is creating new map files"
. "\nusing the following configuration:"
. "\n LW35 font names : "