[DOC] How to use make matz

This commit is contained in:
Nobuyoshi Nakada 2025-11-01 19:10:19 +09:00
parent 5ce27bef01
commit db57080450
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -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)))