summaryrefslogtreecommitdiff
path: root/win32/configure.bat
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-14 02:05:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-14 02:05:17 +0000
commitd937bbe9cecd6fe294f21210a5c77e57c2af3e62 (patch)
tree30d86036bf966eb08746237cfdc1e9693a4f9267 /win32/configure.bat
parent976c4de36300b4efa1252cef42d1fa80c9a59d7b (diff)
* win32/configure.bat: keep old makefile with renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/configure.bat')
-rwxr-xr-xwin32/configure.bat5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/configure.bat b/win32/configure.bat
index 8c157927e42..da3878533ec 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -161,5 +161,8 @@ if exist pathlist.tmp echo>>~setup~.mak LIB = $(pathlist:;=/lib;)
type>>~setup~.mak ~tmp~.mak
del *.tmp > nul
del ~tmp~.mak > nul
-nmake -alf ~setup~.mak
+echo>>~setup~.mak @if exist Makefile.old del Makefile.old
+echo>>~setup~.mak @if exist Makefile ren Makefile Makefile.old
+echo>>~setup~.mak @ren Makefile.new Makefile
+nmake -alf ~setup~.mak MAKEFILE=Makefile.new
:exit