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:
parent
30ded41fc3
commit
44f038bd7f
1 changed files with 3 additions and 3 deletions
|
@ -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 $*...
|
||||
|
|
Loading…
Reference in a new issue