texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * maintain/regenerate_commands_perl_info.pl, Make


From: Patrice Dumas
Subject: branch master updated: * maintain/regenerate_commands_perl_info.pl, Makefile.am: rename maintain/regenerate_perl_command_infos.pl as maintain/regenerate_commands_perl_info.pl. Distribute the script. Remove _LINE in item_LINE.
Date: Sun, 02 Oct 2022 11:10:45 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 3ca90620fc * maintain/regenerate_commands_perl_info.pl, Makefile.am: 
rename maintain/regenerate_perl_command_infos.pl as 
maintain/regenerate_commands_perl_info.pl.  Distribute the script. Remove _LINE 
in item_LINE.
3ca90620fc is described below

commit 3ca90620fcddf3a8f3ad7ba1a2d37865b92a5fc5
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Oct 2 17:10:33 2022 +0200

    * maintain/regenerate_commands_perl_info.pl, Makefile.am: rename
    maintain/regenerate_perl_command_infos.pl as
    maintain/regenerate_commands_perl_info.pl.  Distribute the script.
    Remove _LINE in item_LINE.
---
 ChangeLog                                                          | 7 +++++++
 tp/Makefile.am                                                     | 5 +++--
 ...rate_perl_command_infos.pl => regenerate_commands_perl_info.pm} | 3 +++
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d7ae739206..6c88396cd5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-10-02  Patrice Dumas  <pertusus@free.fr>
+
+       * maintain/regenerate_commands_perl_info.pl, Makefile.am: rename
+       maintain/regenerate_perl_command_infos.pl as
+       maintain/regenerate_commands_perl_info.pl.  Distribute the script.
+       Remove _LINE in item_LINE.
+
 2022-10-01  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/Convert/LaTeX.pm (index_entry): Strip | from
diff --git a/tp/Makefile.am b/tp/Makefile.am
index d5954bac1a..9f7cd54a82 100644
--- a/tp/Makefile.am
+++ b/tp/Makefile.am
@@ -288,6 +288,7 @@ maintenance_files = \
   maintain/regenerate_documentlanguages-iana.pl \
   maintain/regenerate_documentlanguages-loc.pl \
   maintain/regenerate_file_lists.pl \
+  maintain/regenerate_commands_perl_info.pl \
   maintain/template.pod \
   maintain/catalog.xml.in
 
@@ -322,7 +323,7 @@ Texinfo/ModulePath.pm: Texinfo/ModulePath.pm.in Makefile
 
 Texinfo/Commands.pm: Texinfo/XS/parsetexi/command_data.txt
        $(MKDIR_P) Texinfo
-       $(srcdir)/maintain/regenerate_perl_command_infos.pl < $< > $@
+       $(srcdir)/maintain/regenerate_commands_perl_info.pl < $< > $@
 
 libsrcdir = $(srcdir)/maintain/lib
 
@@ -368,4 +369,4 @@ distclean-local:
        rm -rf blib po po_document
 
 CLEANFILES = texi2any makeinfo texi2any-perl Texinfo/ModulePath.pm
-DISTCLEANFILES = maintain/catalog.xml pm_to_blib Makefile.old
+DISTCLEANFILES = maintain/catalog.xml pm_to_blib Makefile.old 
Texinfo/Commands.pm
diff --git a/tp/maintain/regenerate_perl_command_infos.pl 
b/tp/maintain/regenerate_commands_perl_info.pm
similarity index 97%
rename from tp/maintain/regenerate_perl_command_infos.pl
rename to tp/maintain/regenerate_commands_perl_info.pm
index 8c5d2d91e4..4a2d44e06e 100755
--- a/tp/maintain/regenerate_perl_command_infos.pl
+++ b/tp/maintain/regenerate_commands_perl_info.pm
@@ -60,6 +60,9 @@ while (<>) {
       }
       $category = $categories[0];
     }
+    # remove _LINE in item_LINE
+    my $uc_category = uc($category);
+    $command =~ s/_$uc_category$//;
     $command_categories{$category}->{$type} = []
         if not ($command_categories{$category}->{$type});
     push @{$command_categories{$category}->{$type}}, $command;



reply via email to

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