Closed th-otto closed 1 year ago
Thanks for this -- good catch. It's merged to master now.
That was quick ;) thanks.
BTW, imho its a bit useless to use help2man to provide a manpage. It won't give any information that is not already available by running flex --help
. But flex is not the only package where that is done ;)
The purpose of help2man isn't to provide additional information. It is to make having a current man page happen automatically.
In the doc directory, help2man is used to generate the manpage. help2man executes the binary and parses its output; obviously that doesn't work when cross-compiling. Luckily, when cross-compiling, flex already has a binary for the host. Attached patch fixes the Makefile to use that instead.
(the patch is against the source of the last official 2.6.4 release, and might need adjustments for current source, but its minimal)