1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

gmake.mk: renamed BUNDLED_GEMS as bundled-gems

Hyphenated names are safe in GNU make.
This commit is contained in:
Nobuyoshi Nakada 2020-12-02 17:04:33 +09:00
parent 30ded41fc3
commit 44f038bd7f
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -248,9 +248,9 @@ HELP_EXTRA_TASKS = \
extract-gems: $(HAVE_BASERUBY:yes=update-gems)
BUNDLED_GEMS := $(shell sed '/^[ ]*\#/d;/^[ ]*$$/d;s/[ ][ ]*/-/;s/[ ].*//' $(srcdir)/gems/bundled_gems)
bundled-gems := $(shell sed '/^[ ]*\#/d;/^[ ]*$$/d;s/[ ][ ]*/-/;s/[ ].*//' $(srcdir)/gems/bundled_gems)
update-gems: | $(patsubst %,gems/%.gem,$(BUNDLED_GEMS))
update-gems: | $(patsubst %,gems/%.gem,$(bundled-gems))
test-bundler-precheck: | $(srcdir)/.bundle/cache
@ -269,7 +269,7 @@ gems/%.gem:
-e 'File.unlink(*old) and' \
-e 'FileUtils.rm_rf(old.map{'"|n|"'n.chomp(".gem")})'
extract-gems: | $(patsubst %,.bundle/gems/%,$(BUNDLED_GEMS))
extract-gems: | $(patsubst %,.bundle/gems/%,$(bundled-gems))
.bundle/gems/%: gems/%.gem | .bundle/gems
$(ECHO) Extracting bundle gem $*...