summaryrefslogtreecommitdiff
path: root/doc/dummy-man
Commit message (Collapse)AuthorAgeFilesLines
* build: work when perl is installed but not in /usr/bin/perlJim Meyering2022-10-161-0/+73
Also support building on systems without perl and when cross-compiling. * configure.ac (AC_ARG_ENABLE [bold-man-page-references]): New configure-time option, using code copied from coreutils. (BUILD_MAN_PAGE, BUILD_DUMMY_MAN_PAGE): Remove definitions. (HAVE_PERL): Remove bogus conditional. * doc/dummy-man: New file, from coreutils, with slight adapation. * build-aux/help2man: Update from coreutils. * doc/local.mk (EXTRA_DIST): Distribute dummy-man. (run_help2man): New variable. (doc/sed.1): Use it rather than simply invoking help2man. Simplify to use only one copy of this rule, now that run_help2man works both with and without perl and when cross-compiling. Move the --name=... string argument into... * doc/sed.x: ... here. Also make the "Synopsis" appear in generated file. In https://lists.gnu.org/r/sed-devel/2022-10/msg00005.html, Bruno Haible reported build failure with perl in a different location and (in another report) another failure with no perl at all.