diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-16 03:29:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-16 03:29:08 +0000 |
commit | 966532cc40525380ec291ba3d7e89c005d1a6c7a (patch) | |
tree | 5ff34434f8221a6cc2b01c8feaa4ff5f592d63d7 /win32/Makefile.sub | |
parent | 7a80e95edd8ae8f42c27ca79d0398defbe12a7f8 (diff) |
* Makefile.in, win32/Makefile.sub (test-rubyspec-precheck): split
from test-rubyspec.
* common.mk (test-rubyspec): moved from Makefile.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r-- | win32/Makefile.sub | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 8562162c6e..fa91fc6f25 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -367,6 +367,12 @@ update-rubyspec: update-mspec @cd $(srcdir:/=\) && git clone $(RUBYSPEC_GIT_URL) spec/rubyspec !endif +test-rubyspec-precheck: +!if !exist($(srcdir)/spec/rubyspec/.) + @echo No rubyspec here. make update-rubyspec first. + @exit 1 +!endif + $(MKFILES): $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub $(win_srcdir)/configure.bat $(win_srcdir)/setup.mak $(win_srcdir)/enc-setup.mak $(srcdir)/enc/Makefile.in $(COMSPEC) /C $(win_srcdir:/=\)\configure.bat $(configure_args) @echo $(MKFILES) should be updated, re-run $(MAKE). |