Re: [PATCH] Makefile: implement help target
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Sep 28, 2010, 15:47 UTC
- Message-ID
- <4CA20E24.90509@drmicha.warpmail.net>
- In-Reply-To
- <7vpqvxubl5.fsf@alter.siamese.dyndns.org>
Junio C Hamano venit, vidit, dixit 28.09.2010 17:33:
Show 9 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes: > >> How's this for a version without maintenance issues? > > Something along these lines would be closer to what I had in mind, > actually. > > Traditionally a multi-line sed command embed in Makefile has been > portability nightmare, which is a bit worrysome.
Yes, but I thought for "make help" it's not such problem if it works on most platforms only - others can read inline ;)
If portability is an issue one can work around it - is "grep -A 1" portable? I'd also have to get rid of sort --key=2.
> Isn't there a "makedoc" ala "perldoc" or "javadoc", by the way?
There is a "makedoc" but that's something different...
Michael