]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: use distributed man pages when running with --help fails
authorBernhard Voelker <mail@bernhard-voelker.de>
Fri, 4 Jan 2019 20:46:14 +0000 (21:46 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Wed, 16 Jan 2019 07:26:01 +0000 (08:26 +0100)
commitf114495e3ec3ded8bdbd0cc56b9e7a5b2993549c
treea575e838b1fa6218599707e5d255199afe45f8ea
parent39ca7731e2879cf87a2199d18ed3a3731efb9172
build: use distributed man pages when running with --help fails

When building against an incompatible GLIBC version compared to that
on the build host, then running the just-built binary might fail
although it is the same platform - thus CROSS_COMPILING is false.
As a result, generating the man pages fails.

* man/local.mk (.x.1): Add a check to verify that running the utility
with --help succeeds, otherwise falling back to using 'dummy-man'.
man/local.mk