Openembedded Core Discussions
 help / color / mirror / Atom feed
* help2man
@ 2011-09-29 11:58 Richard Purdie
  2011-10-03 19:06 ` help2man Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2011-09-29 11:58 UTC (permalink / raw)
  To: openembedded-core

The more I look at and think about help2man, the more it looks like
something we just shouldn't need/use.

In summary, it runs a binary and captures its --help output. This rules
it out from being useful in most cross compiling scenarios, i.e. all
target packages.

In the -native/-cross cases, we don't really care about man pages.

I'm therefore thinking we should really just drop the dependency and
symlink help2man to /bin/false. The missing script in autotools should
then just silently touch the man page files instead of regenerating
them.

I tried to figure out which recipes actually use help2man:

$ grep HELP2MAN * -r --exclude=Makefile.in 2> /dev/null | grep -v missing

and against a core-image-sato this gave:

libtool
libtasn1
gettext
automake
autoconf
flex
bison
m4

which isn't that many recipes to go and beat up manually if necessary.
It certainly doesn't warrant a global include in autotools.bbclass IMO.

Cheers,

Richard






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-03 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-29 11:58 help2man Richard Purdie
2011-10-03 19:06 ` help2man Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox