From: John Mandereau Date: Sun, 2 Sep 2007 16:26:52 +0000 (+0200) Subject: Fix main file output name in Texinfo skeletons X-Git-Tag: release/2.11.33-1~4^2~12^2~57 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7d9013be1e9502ce05793a7cd84073eeedd5ad29;p=lilypond.git Fix main file output name in Texinfo skeletons --- diff --git a/buildscripts/texi-langutils.py b/buildscripts/texi-langutils.py index ed5510727c..66900268bc 100644 --- a/buildscripts/texi-langutils.py +++ b/buildscripts/texi-langutils.py @@ -120,11 +120,11 @@ if make_gettext: node_list_filename = 'node_list' node_list = open (node_list_filename, 'w') for texi_file in texi_files: - process_texi (texi_file, intro_blurb, node_blurb, make_skeleton, texi_file, node_list) + process_texi (texi_file, intro_blurb, node_blurb, make_skeleton, os.path.basename (texi_file), node_list) for word in ('Up:', 'Next:', 'Previous:', 'Appendix ', 'Footnotes', 'Table of Contents'): node_list.write ('_(r"' + word + '")\n') node_list.close () os.system ('xgettext -c -L Python --no-location -o ' + output_file + ' ' + node_list_filename) else: for texi_file in texi_files: - process_texi (texi_file, intro_blurb, node_blurb, make_skeleton, texi_file) + process_texi (texi_file, intro_blurb, node_blurb, make_skeleton, os.path.basename (texi_file))