-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve help for make command #33489
Conversation
Some similar information is in CONTRIBUTING.md in the "Useful targets" section. Perhaps these targets should be added there? |
I think the makefile's readme should be on its own. However the point here is just to open the debate. :) |
Could this be merged in perhaps some other documentation? It'd be kinda unfortunate to have another top-level file dedicated to a system that's being phased out. |
@alexcrichton: Absolutely, where would you want to add it? Any file in mind? The one @rkruppe proposed doesn't seem to be a very good fit. |
I believe we already have the header of |
Since you care about where this is located, I'll let you take this one 😄 |
Updated. So I extended |
@@ -257,3 +271,9 @@ ifneq ($(strip $(findstring TAGS.emacs,$(MAKECMDGOALS)) \ | |||
CFG_INFO := $(info cfg: including ctags rules) | |||
include $(CFG_SRC_DIR)mk/ctags.mk | |||
endif | |||
|
|||
.DEFAULT: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this break a bare make
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It starts as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this end up doing? Is this just to translate make foo
into a help message here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, more than this. If you enter an invalid rules, this rule will be called.
Add examples for "make help" command
Updated. |
@bors: rollup |
Improve help for make command r? @steveklabnik
r? @steveklabnik