summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 09:46:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 09:46:52 +0000
commitde399bcb469380d79d0d33f7d8965c340486dc32 (patch)
tree253018a28a91dc110998b2101a4321c255d13b32 /win32
parentd880862d3ee37ff2c4545fcda2884308438b5d17 (diff)
* 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 'win32')
-rw-r--r--win32/Makefile.sub18
1 files changed, 18 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index aede5357e..e0657c715 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -306,6 +306,24 @@ up::
!include $(srcdir)/common.mk
+update-mspec:
+!if exist($(srcdir)/spec/mspec)
+ @echo updating mspec ...
+ @cd $(srcdir:/=\)\spec\mspec && git pull
+!else
+ @echo retrieving mspec ...
+ @cd $(srcdir:/=\) && git clone $(MSPEC_GIT_URL) spec/mspec
+!endif
+
+update-rubyspec: update-mspec
+!if exist($(srcdir)/spec/rubyspec)
+ @echo updating rubyspec ...
+ @cd $(srcdir:/=\)\spec\rubyspec && git pull
+!else
+ @echo retrieving rubyspec ...
+ @cd $(srcdir:/=\) && git clone $(RUBYSPEC_GIT_URL) spec/rubyspec
+!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).