mirror of
https://github.com/ruby/ruby.git
synced 2026-08-03 11:18:06 +08:00
[DOC] How to use make matz
This commit is contained in:
parent
5ce27bef01
commit
db57080450
@ -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)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user