From 7d9013be1e9502ce05793a7cd84073eeedd5ad29 Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Sun, 2 Sep 2007 18:26:52 +0200 Subject: [PATCH] Fix main file output name in Texinfo skeletons --- buildscripts/texi-langutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.5