diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-04-16 14:16:09 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-04-16 07:30:29 -0700 |
| commit | 521c98840b6ce5503f771600493f522be3677232 (patch) | |
| tree | bc2b175a253dab7f67c5a077efc7a0d665b0e88b /Documentation/fix-texi.perl | |
| parent | 76042228f20bd9b97a7454b62c70b28117c351c0 (diff) | |
| download | git-521c98840b6ce5503f771600493f522be3677232.tar.gz | |
Documentation: stop depending on Perl to massage user manual
The "fix-texi.perl" script is used to fix up the output of
`docbook2x-texi`:
- It changes the filename to be "git.info".
- It changes the directory category and entry.
The script is written in Perl, but it can be rather trivially converted
to a shell script. Do so to remove the dependency on Perl for building
the user manual.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/fix-texi.perl')
| -rwxr-xr-x | Documentation/fix-texi.perl | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Documentation/fix-texi.perl b/Documentation/fix-texi.perl deleted file mode 100755 index ff7d78f620..0000000000 --- a/Documentation/fix-texi.perl +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/perl -w - -while (<>) { - if (/^\@setfilename/) { - $_ = "\@setfilename git.info\n"; - } elsif (/^\@direntry/) { - print '@dircategory Development -@direntry -* Git: (git). A fast distributed revision control system -@end direntry -'; } - unless (/^\@direntry/../^\@end direntry/) { - print; - } -} |
