1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

build: Fix use of perl on Guix, FreeBSD, NetBSD.

* doc/help2man: Search for perl in $PATH.
This commit is contained in:
Bruno Haible
2024-07-22 00:18:55 +02:00
parent 634824575d
commit efeba7b8bd
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2024-07-21 Bruno Haible <bruno@clisp.org>
build: Fix use of perl on Guix, FreeBSD, NetBSD.
* doc/help2man: Search for perl in $PATH.
2024-07-21 Bruno Haible <bruno@clisp.org> 2024-07-21 Bruno Haible <bruno@clisp.org>
build: Fix "make maintainer-clean". build: Fix "make maintainer-clean".

View File

@@ -1,7 +1,7 @@
#!/usr/bin/perl -w #!/usr/bin/env perl
# Generate a short man page from --help and --version output. # Generate a short man page from --help and --version output.
# Copyright <EFBFBD> 1997, 1998, 1999, 2000 Free Software Foundation, Inc. # Copyright © 1997-2000, 2024 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
use 5.004; use 5.004;
use strict; use strict;
use warnings;
use Getopt::Long; use Getopt::Long;
use Text::Tabs qw(expand); use Text::Tabs qw(expand);
use POSIX qw(strftime setlocale LC_TIME); use POSIX qw(strftime setlocale LC_TIME);
@@ -30,7 +31,7 @@ my $this_version = '1.23';
my $version_info = <<EOT; my $version_info = <<EOT;
GNU $this_program $this_version GNU $this_program $this_version
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. Copyright (C) 1997-2000, 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.