aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common.mk4
-rw-r--r--defs/gmake.mk5
2 files changed, 8 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 3c5f1a31b4..3516f1c8b2 100644
--- a/common.mk
+++ b/common.mk
@@ -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