summaryrefslogtreecommitdiffstats
path: root/win32
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
commit35111fde3ab44e19ade28dba719eee41d66f0813 (patch)
tree30d86036bf966eb08746237cfdc1e9693a4f9267 /win32
parent878133915f909066b976aec4f60471baf230c01b (diff)
downloadruby-35111fde3ab44e19ade28dba719eee41d66f0813.tar.gz
ruby-35111fde3ab44e19ade28dba719eee41d66f0813.tar.xz
ruby-35111fde3ab44e19ade28dba719eee41d66f0813.zip
* win32/configure.bat: keep old makefile with renamed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/configure.bat5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/configure.bat b/win32/configure.bat
index 8c157927e..da3878533 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