diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-06 09:46:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-06 09:46:52 +0000 |
commit | 849c996270c76ffe8a54583e892113792c440516 (patch) | |
tree | 253018a28a91dc110998b2101a4321c255d13b32 /Makefile.in | |
parent | 2a413f97a497b2e86a0523b5c849e3fc075e887c (diff) | |
download | ruby-849c996270c76ffe8a54583e892113792c440516.tar.gz |
* Makefile.in (update-mspec): split from update-rubyspec.
* win32/Makefile.sub (update-{rubyspec,mspec}): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 23 |
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: |