mc/doc/man
Sergei Trofimovich 6b67d231a2 Ticket #4399: configure.ac: introduce PERL_FOR_BUILD
Most of mc uses of PERL is to embed path to the interpreter in VFS
helpers. There we can use path to perl for --host. But
`date-of-man-include.am` is the place where perl is used for --build.

On most systems both paths are expected to be /usr/bin/perl.
But on some systems paths might differ a bit. Most prominent
example is NixOS, where packages get installed into unique prefixes:

$ file /nix/store/...-perl-5.36.0/bin/perl \
       /nix/store/...-perl-powerpc64-unknown-linux-gnu-5.36.0/bin/perl
/nix/store/...-perl-5.36.0/bin/perl:
  ELF 64-bit LSB executable, x86-64, version 1 (SYSV), ...
/nix/store/...-perl-powerpc64-unknown-linux-gnu-5.36.0/bin/perl:
  ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, ...

This allows running both binaries via qemu-user if needed for tests.

The change introduces PERL_FOR_BUILD (similar to autoconf's CC_FOR_BUILD
and friends) to allow passing both PERLs when needed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-08-20 08:26:24 +03:00
..
es man: much use of directory macros. 2022-03-13 13:17:23 +03:00
hu man: much use of directory macros. 2022-03-13 13:17:23 +03:00
it man: much use of directory macros. 2022-03-13 13:17:23 +03:00
pl man: much use of directory macros. 2022-03-13 13:17:23 +03:00
ru Document new filter options. 2022-04-10 17:45:57 +03:00
sr man: much use of directory macros. 2022-03-13 13:17:23 +03:00
date-of-man-include.am Ticket #4399: configure.ac: introduce PERL_FOR_BUILD 2022-08-20 08:26:24 +03:00
Makefile.am Ticket #2692: Date not set properly in manpage 2012-04-02 13:43:19 +03:00
mc.1.in Document new filter options. 2022-04-10 17:45:57 +03:00
mcedit.1.in man: much use of directory macros. 2022-03-13 13:17:23 +03:00
mcview.1.in man: much use of directory macros. 2022-03-13 13:17:23 +03:00