summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-27 18:19:26 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-29 18:12:43 +0900
commit8e3ac264df55ed7903f4f9519b353ca182eea81f (patch)
treea500d45fd35d8bc0480a333abab0e6c2a6eaab4f /common.mk
parentaacaa2ec5e13d7d678b58208bf3d6c0551f251cd (diff)
Fix dependencies of outdate-bundled-gems
Extract new gems then remove outdated gem directories.
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 125b81b3f9..95b6052f21 100644
--- a/common.mk
+++ b/common.mk
@@ -1372,7 +1372,8 @@ update-config_files: PHONY
refresh-gems: update-bundled_gems prepare-gems
prepare-gems: $(HAVE_BASERUBY:yes=update-gems) $(HAVE_BASERUBY:yes=extract-gems)
-extract-gems: $(HAVE_BASERUBY:yes=update-gems) $(DOT_WAIT) $(HAVE_BASERUBY:yes=outdate-bundled-gems)
+prepare-gems: $(DOT_WAIT) $(HAVE_BASERUBY:yes=outdate-bundled-gems)
+extract-gems: $(HAVE_BASERUBY:yes=update-gems)
update-gems$(gnumake:yes=-sequential): PHONY
$(ECHO) Downloading bundled gem files...