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 | de399bcb469380d79d0d33f7d8965c340486dc32 (patch) | |
| tree | 253018a28a91dc110998b2101a4321c255d13b32 /Makefile.in | |
| parent | d880862d3ee37ff2c4545fcda2884308438b5d17 (diff) | |
| download | ruby-de399bcb469380d79d0d33f7d8965c340486dc32.tar.gz ruby-de399bcb469380d79d0d33f7d8965c340486dc32.tar.xz ruby-de399bcb469380d79d0d33f7d8965c340486dc32.zip | |
* Makefile.in (update-mspec): split from update-rubyspec.
* win32/Makefile.sub (update-{rubyspec,mspec}): added.
git-svn-id: http://svn.ruby-lang.org/repos/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 d258e1ffc..975f127b6 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: |
