summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-11-01 19:10:19 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-11-01 19:10:19 +0900
commitdb5708045037a159458de741b46e9c47fe430284 (patch)
tree7bd7ee51392ddd7137e7cd917e006c0e66405d65
parent5ce27bef014d394e1c478de78165edaf9af122aa (diff)
[DOC] How to use `make matz`
-rw-r--r--defs/gmake.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index 4069a4b8c9..3dcfe9f639 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -537,8 +537,13 @@ spec/%/ spec/%_spec.rb: programs exts PHONY
ruby.pc: $(filter-out ruby.pc,$(ruby_pc))
-matz: up
+# `make matz`: bump up the MINOR;
+# Copying NEWS.md to doc/NEWS/, and empty the details in NEWS.md.
+#
+# `make matz NEW=x.y`: bump up to x.y.0;
+# Just update the version in the title of NEWS.md.
+matz: up
matz: OLD := $(MAJOR).$(MINOR).0
ifdef NEW
matz: MAJOR := $(word 1,$(subst ., ,$(NEW)))