texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrice Dumas
Date: Fri, 4 Oct 2024 04:39:54 -0400 (EDT)

branch: master
commit cdcb839757330fdd5b799f635e459eabfbb4c810
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 4 10:30:30 2024 +0200

    * tp/maintain/setup_converters_code_tables.pl: use the basename to
    name the script generating the code files such that the file content
    is the same in in and out of source builds.
---
 ChangeLog                                   | 6 ++++++
 tp/maintain/setup_converters_code_tables.pl | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0df55ca060..b19d4d0560 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-10-04  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/maintain/setup_converters_code_tables.pl: use the basename to
+       name the script generating the code files such that the file content
+       is the same in in and out of source builds.
+
 2024-10-04  Patrice Dumas  <pertusus@free.fr>
 
        Update po files
diff --git a/tp/maintain/setup_converters_code_tables.pl 
b/tp/maintain/setup_converters_code_tables.pl
index d7137f7c35..d826b2be0f 100755
--- a/tp/maintain/setup_converters_code_tables.pl
+++ b/tp/maintain/setup_converters_code_tables.pl
@@ -25,7 +25,7 @@ use if $] >= 5.014, re => '/a';
 
 # for file names portability
 use File::Spec;
-# for fileparse
+# for fileparse and basename
 use File::Basename;
 
 use Encode;
@@ -337,7 +337,7 @@ my %xml_text_entity_no_arg_commands
 
 open(CONV, '>', $converter_file) or die "Open $converter_file: $!\n";
 
-print CONV "/* Automatically generated from $0 */\n\n";
+print CONV "/* Automatically generated from $program_name */\n\n";
 
 print CONV "const char *xml_text_entity_no_arg_commands[] = {\n";
 foreach my $command_name (@commands_order) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]