diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-31 10:38:39 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-31 10:38:39 +0000 |
commit | 0d5f3f991ffb5c557647a81ee1cb4f1a4a11a724 (patch) | |
tree | ff0706fbae73fbf16ede8f9e77dbbe8205672bfd /Makefile.in | |
parent | e59ad5f1d8ae9bbf65ed846978dce815c4813311 (diff) | |
download | ruby-0d5f3f991ffb5c557647a81ee1cb4f1a4a11a724.tar.gz ruby-0d5f3f991ffb5c557647a81ee1cb4f1a4a11a724.tar.xz ruby-0d5f3f991ffb5c557647a81ee1cb4f1a4a11a724.zip |
* spec/README: follows the change of directory structure in rubyspec.
* spec/default.mspec: ditto. Also follows change of mspec command.
* Makefile.in: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index b7313dd85..6f5056556 100644 --- a/Makefile.in +++ b/Makefile.in @@ -241,20 +241,24 @@ ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c update-rubyspec: - if [ -d $(srcdir)/spec/mspec ]; then \ + @if [ -d $(srcdir)/spec/mspec ]; then \ cd $(srcdir)/spec/mspec; \ + echo updating mspec ...; \ git pull; \ cd ../..; \ else \ + echo retrieving mspec ...; \ git clone $(MSPEC_GIT_URL) $(srcdir)/spec/mspec; \ fi - if [ -d $(srcdir)/spec/rubyspec ]; then \ + @if [ -d $(srcdir)/spec/rubyspec ]; then \ cd $(srcdir)/spec/rubyspec; \ + echo updating rubyspec ...; \ git pull; \ else \ + echo retrieving rubyspec ...; \ git clone $(RUBYSPEC_GIT_URL) $(srcdir)/spec/rubyspec; \ fi test-rubyspec: @if [ ! -d $(srcdir)/spec/rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi - $(RUNRUBY) $(srcdir)/spec/mspec/bin/mspec $(srcdir)/spec/rubyspec/$(MAJOR).$(MINOR) + $(RUNRUBY) $(srcdir)/spec/mspec/bin/mspec $(MSPECOPT) |