diff options
-rw-r--r-- | common.mk | 4 | ||||
-rw-r--r-- | defs/gmake.mk | 5 |
2 files changed, 8 insertions, 1 deletions
@@ -1462,6 +1462,8 @@ update-man-date: PHONY -e '$$_.sub!(/^(\.Dd ).*/){$$1+@vcs.modified(ARGF.path).strftime("%B %d, %Y")}' \ "$(srcdir)" "$(srcdir)"/man/*.1 +HELP_EXTRA_TASKS = "" + help: PHONY $(MESSAGE_BEGIN) \ " Makefile of Ruby" \ @@ -1498,7 +1500,7 @@ help: PHONY " change: make change log template" \ " golf: for golfers" \ " goruby: same as golf" \ - "" \ + $(HELP_EXTRA_TASKS) \ "see DeveloperHowto for more detail: " \ " https://bugs.ruby-lang.org/projects/ruby/wiki/DeveloperHowto" \ $(MESSAGE_END) diff --git a/defs/gmake.mk b/defs/gmake.mk index e2e4a3ba39..80b9b34dd4 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -209,6 +209,11 @@ fetch-github-%: pr-% merge-github-%: fetch-github-% $(call merge-github,$*) +HELP_EXTRA_TASKS = \ + " checkout-github: checkout GitHub Pull Request [PR=1234]" \ + " merge-github: merge GitHub Pull Request to current HEAD [PR=1234]" \ + "" + ifeq ($(words $(filter update-gems extract-gems,$(MAKECMDGOALS))),2) extract-gems: update-gems endif |