From 9999dd5b93a9b5c11fffb50177de7d8aa4676cfb Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Wed, 12 Aug 2009 21:10:02 +0200 Subject: [PATCH] WEB: verbosity nits. --- Documentation/web-texi2html.init | 4 ++-- scripts/build/extract_texi_filenames.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/web-texi2html.init b/Documentation/web-texi2html.init index f266657c8d..e3307dd9c1 100644 --- a/Documentation/web-texi2html.init +++ b/Documentation/web-texi2html.init @@ -235,6 +235,7 @@ sub load_map_file ($) my $node_map = (); if (open(XREFFILE, $mapfile)) { + print STDERR "Reading map file: $mapfile\n"; my $line; while ( $line = ) { # parse the tab-separated entries and insert them into the map: @@ -248,7 +249,7 @@ sub load_map_file ($) } close (XREFFILE); } else { - print STDERR "WARNING: Unable to load the map file $mapfile\n"; + print STDERR "warning: cannot load map file: no such file: $mapfile\n"; } return $node_map; } @@ -455,7 +456,6 @@ sub lilypond_external_href($$$) my $page_toc_depth = 2; my @default_toc = []; - # Initialize the toc_depth to 1 if the command-line option -D=short_toc is given sub lilypond_init_toc_depth () { diff --git a/scripts/build/extract_texi_filenames.py b/scripts/build/extract_texi_filenames.py index e58b0ddc7b..61f6014e16 100644 --- a/scripts/build/extract_texi_filenames.py +++ b/scripts/build/extract_texi_filenames.py @@ -185,6 +185,7 @@ def process_sections (filename, lang_suffix, page): sections = section_translation_re.findall (page) basename = os.path.splitext (os.path.basename (filename))[0] p = os.path.join (outdir, basename) + lang_suffix + '.xref-map' + print 'writing:', p f = open (p, 'w') this_title = '' -- 2.39.2