From 63366b738b95f05f0b841271efb778738371855e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 7 Oct 2013 22:58:25 +0000 Subject: only create the pxdvi output directory if it will actually be used. git-svn-id: svn://tug.org/texlive/trunk@31853 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/updmap.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/scripts') 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 : " -- cgit v1.2.3