bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12411: 24.2.50; No `make help' target?


From: Stefan Kangas
Subject: bug#12411: 24.2.50; No `make help' target?
Date: Wed, 21 Aug 2019 01:09:32 +0200

Stefan Monnier <address@hidden> writes:

>> sed -n 's/^\([a-z]*\):.*/\1/p' Makefile  # plus uniq...
>> They are all pretty much standard targets, and documented at the top of
>> the Makefile.
>
> It's not always easy to find the doc corresponding to a given target, so
> I think it would indeed be a good idea to make "make help" return some
> useful info.
> I also think it would be a valuable addition to the GNU coding standards.
> Just like all commands should accept a "--help", it would make sense for
> the main Makefile to do something useful with "make help".

How about something like the attached patch?

I'm not a Makefile expert, so I couldn't find a way to skip the
configure step and immediately echo.

Thanks,
Stefan Kangas

Attachment: 0001-Add-new-make-help-target.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]