GNU bug report logs - #12411
24.2.50; No `make help' target?

Previous Next

Package: emacs;

Reported by: Bastien <bzg <at> altern.org>

Date: Tue, 11 Sep 2012 09:07:01 UTC

Severity: wishlist

Tags: confirmed, patch

Found in version 24.2.50

Fixed in version 27.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Glenn Morris <rgm <at> gnu.org>, 12411 <at> debbugs.gnu.org, Bastien <bzg <at> altern.org>
Subject: bug#12411: 24.2.50; No `make help' target?
Date: Wed, 21 Aug 2019 01:09:32 +0200
[Message part 1 (text/plain, inline)]
Stefan Monnier <monnier <at> iro.umontreal.ca> 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
[0001-Add-new-make-help-target.patch (text/x-patch, attachment)]

This bug report was last modified 5 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.