summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-10 08:30:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-10 08:30:01 +0000
commit2e2ccab1104c01a2e944eab2a4f5e338a26155d7 (patch)
treee897c8e12fadd05f256cf91ffc1f33fe21788c8c /win32/Makefile.sub
parent5c99f241a0e8712e27fae013e2a6be46b136acf8 (diff)
win32/setup.mak: separate verconf.mk
* win32/setup.mak (verconf.mk): separate RUBY_RELEASE_DATE from Makefile so that build would not stop everyday. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub10
1 files changed, 8 insertions, 2 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index da26584..60a03a7 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -3,7 +3,7 @@
SHELL = $(COMSPEC)
ECHO1 = $(V:1=@:)
RUNCMD = $(COMSPEC) /c
-MKFILES = Makefile
+MKFILES = Makefile verconf.mk
NULL = nul
CHDIR = cd
PATH_SEPARATOR = ;
@@ -403,6 +403,9 @@ MINIPRELUDE_C = miniprelude.c
RBCONFIG = ./.rbconfig.time
!include $(srcdir)/common.mk
+!if exist(verconf.mk)
+! include verconf.mk
+!endif
!ifdef SCRIPTPROGRAMS
!else if [echo>scriptbin.mk SCRIPTPROGRAMS = \]
@@ -456,7 +459,10 @@ test-rubyspec-precheck:
@exit 1
!endif
-$(MKFILES): $(win_srcdir)/Makefile.sub $(win_srcdir)/configure.bat $(win_srcdir)/setup.mak $(win_srcdir)/enc-setup.mak $(srcdir)/common.mk $(srcdir)/enc/Makefile.in
+$(MKFILES): $(srcdir)/common.mk $(srcdir)/version.h \
+ $(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)
@fc Makefile Makefile.old > nul && echo Makefile unchanged || \
(echo $(MKFILES) was updated, re-run $(MAKE). & exit 1)