summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in23
1 files changed, 13 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index d258e1ffcf..975f127b6c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -250,23 +250,26 @@ ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
up::
@$(CHDIR) "$(srcdir)" && LC_TIME=C exec $(VCSUP)
-update-rubyspec:
- @if [ -d $(srcdir)/spec/mspec ]; then \
- $(CHDIR) $(srcdir)/spec/mspec; \
+update-mspec:
+ @$(CHDIR) $(srcdir); \
+ if [ -d spec/mspec ]; then \
+ cd spec/mspec; \
echo updating mspec ...; \
- git pull; \
- cd ../..; \
+ exec git pull; \
else \
echo retrieving mspec ...; \
- git clone $(MSPEC_GIT_URL) $(srcdir)/spec/mspec; \
+ exec git clone $(MSPEC_GIT_URL) spec/mspec; \
fi
- @if [ -d $(srcdir)/spec/rubyspec ]; then \
- $(CHDIR) $(srcdir)/spec/rubyspec; \
+
+update-rubyspec: update-mspec
+ @$(CHDIR) $(srcdir); \
+ if [ -d spec/rubyspec ]; then \
+ cd spec/rubyspec; \
echo updating rubyspec ...; \
- git pull; \
+ exec git pull; \
else \
echo retrieving rubyspec ...; \
- git clone $(RUBYSPEC_GIT_URL) $(srcdir)/spec/rubyspec; \
+ exec git clone $(RUBYSPEC_GIT_URL) spec/rubyspec; \
fi
test-rubyspec: