summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
Diffstat (limited to 'defs')
-rw-r--r--defs/gmake.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index cd72c49126..0b9d47a2ab 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -248,6 +248,12 @@ BUNDLED_GEMS := $(shell sed 's/[ ][ ]*/-/;s/[ ].*//' $(srcdir)/gems/bundled_g
update-gems: | $(patsubst %,gems/%.gem,$(BUNDLED_GEMS))
+test-bundler-precheck: | $(srcdir)/.bundle/cache
+
+$(srcdir)/.bundle/cache:
+ $(MAKEDIRS) $(@D)
+ $(LN_S) ../.downloaded-cache $@
+
gems/%.gem:
$(ECHO) Downloading bundled gem $*...
$(Q) $(BASERUBY) -C "$(srcdir)" \