diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-04 22:15:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-04 22:15:29 +0000 |
commit | be62fd26ebe0decfe5c8abe5ff1fd2e2b00b7254 (patch) | |
tree | 0abcd76af3ede1f676cf3f69985570f0ea5b66d8 /Build | |
parent | 9c23d68ab155496c5b44a0a5ec5d66da6f408a5c (diff) |
add more verbose output
git-svn-id: svn://tug.org/texlive/trunk@20932 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/tetex/ChangeLog | 5 | ||||
-rwxr-xr-x | Build/source/texk/tetex/updmap | 48 |
2 files changed, 36 insertions, 17 deletions
diff --git a/Build/source/texk/tetex/ChangeLog b/Build/source/texk/tetex/ChangeLog index 741b71afbf4..f1556f3e5a1 100644 --- a/Build/source/texk/tetex/ChangeLog +++ b/Build/source/texk/tetex/ChangeLog @@ -1,3 +1,8 @@ +2011-01-04 Karl Berry <karl@tug.org> + + * updmap: add many more verbose messages, to help understand what + files are being created from what sources. + 2010-12-27 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am (install-exec-hook, install-data-hook): Check diff --git a/Build/source/texk/tetex/updmap b/Build/source/texk/tetex/updmap index 573a381ac98..15c6e738927 100755 --- a/Build/source/texk/tetex/updmap +++ b/Build/source/texk/tetex/updmap @@ -282,6 +282,7 @@ setupSymlinks() ############################################################################### transLW35() { + verboseMsg "$progname: transLW35 according to: $mode" case $mode in ""|URWkb) cat ${1+"$@"} @@ -632,7 +633,7 @@ locateMap() verboseMsg "$progname: using map file \`$file'" echo "$file" else - warn "map file \`$map' not found." + warn "map file not found: \`$map'" fi done } @@ -1177,7 +1178,7 @@ $outputLinks" $notfound || texhashEnabled=false verboseCat <<-eof - updmap is creating new map files using the following configuration: + updmap: creating new map files using the following configuration: config file: \`$cnfFile' dvips output directory: \`$dvipsoutputdir' @@ -1205,11 +1206,11 @@ eof fi verboseMsg - verboseMsg "$progname: Scanning for MixedMap entries:" + verboseMsg "$progname: scanning for MixedMap entries:" catMaps '^MixedMap' > $tmp1 || cleanup 1 verboseMsg - verboseMsg "$progname: Scanning for Map entries:" + verboseMsg "$progname: scanning for Map entries:" catMaps '^Map' > $tmp2 || cleanup 1 verboseMsg @@ -1233,16 +1234,20 @@ eof done IFS=$OLDIFS - verboseMsg "$progname: Generating output for ps2pk..." + verboseMsg "$progname: generating output for ps2pk..." { transLW35 "$ps2pk35"; cat $tmp1 $tmp2; } \ | normalizeLines >> "$dvipsoutputdir/ps2pk.map" + verboseMsg "$progname: $ps2pk35 -> ps2pk.map" - verboseMsg "$progname: Generating output for dvips..." + verboseMsg "$progname: generating output for dvips..." { transLW35 "$ps2pk35"; } \ | normalizeLines >> "$dvipsoutputdir/download35.map" + verboseMsg "$progname: $ps2pk35 -> download35.map" + # { transLW35 "$dvips35"; } \ | normalizeLines >> "$dvipsoutputdir/builtin35.map" - + verboseMsg "$progname: $dvips35 -> builtin35.map" + # if test "x$dvipsDownloadBase35" = xtrue; then dftdvips=$ps2pk35 else @@ -1250,38 +1255,47 @@ eof fi { transLW35 "$dftdvips"; cat $tmp1 $tmp2; } \ | normalizeLines >> "$dvipsoutputdir/psfonts_t1.map" + verboseMsg "$progname: $dftdvips -> psfonts_t1.map" + # { transLW35 "$dftdvips"; cat $tmp2; } \ | normalizeLines >> "$dvipsoutputdir/psfonts_pk.map" + verboseMsg "$progname: $dftdvips -> psfonts_pk.map" - verboseMsg "$progname: Generating output for pdftex..." + verboseMsg "$progname: generating output for pdftex..." # remove PaintType due to Sebastian's request { transLW35 "$pdftex35"; cat $tmp1 $tmp2; } \ | grep -v PaintType | grep . > $tmp3 - { transLW35 "$dvipdfm35"; cat $tmp1 $tmp2; } \ - | grep -v PaintType | grep . > $tmp6 + verboseMsg "$progname: $pdftex35 -> pdftex_ndl14.map" + <$tmp3 normalizeLines >> "$pdftexoutputdir/pdftex_ndl14.map" + { transLW35 "$ps2pk35"; cat $tmp1 $tmp2; } \ | grep -v PaintType | grep . > $tmp7 - - <$tmp3 normalizeLines >> "$pdftexoutputdir/pdftex_ndl14.map" + verboseMsg "$progname: $ps2pk35 -> pdftex_dl14.map" <$tmp7 normalizeLines >> "$pdftexoutputdir/pdftex_dl14.map" - verboseMsg "$progname: Generating output for dvipdfm..." + verboseMsg "$progname: generating output for dvipdfm..." + verboseMsg "$progname: $ps2pk35 -> dvipdfm_dl14.map" <$tmp7 normalizeLines | dvips2dvipdfm | normalizeLines >> "$dvipdfmoutputdir/dvipdfm_dl14.map" + + { transLW35 "$dvipdfm35"; cat $tmp1 $tmp2; } \ + | grep -v PaintType | grep . > $tmp6 + verboseMsg "$progname: $dvipdfm35 -> dvipdfm_ndl14.map" <$tmp6 normalizeLines | dvips2dvipdfm | normalizeLines >> "$dvipdfmoutputdir/dvipdfm_ndl14.map" - verboseMsg "$progname: All output generated." + + verboseMsg "$progname: all output generated." verboseMsg setupSymlinks $texhashEnabled && { $verbose && texhash || texhash >/dev/null 2>&1; } verboseMsg - verboseMsg "$progname: Files generated:" + verboseMsg "$progname: files generated:" OLDIFS=$IFS; IFS=$newline ls -l $outputFiles | verboseCat IFS=$OLDIFS verboseMsg - verboseMsg "$progname: Map file links or copies:" + verboseMsg "$progname: map file links or copies:" ls -l "$dvipsoutputdir"/psfonts.map \ "$pdftexoutputdir"/pdftex.map \ "$dvipdfmoutputdir"/dvipdfm.map | verboseCat @@ -1315,7 +1329,7 @@ eof fi verboseMsg - verboseMsg "$progname: Done." + verboseMsg "$progname: done." return 0 } |