diff options
author | Steph Fox <sfox@php.net> | 2008-03-18 03:23:14 +0000 |
---|---|---|
committer | Steph Fox <sfox@php.net> | 2008-03-18 03:23:14 +0000 |
commit | 7c8ff91218425d8976ada68b7743eef8a1b4ba5c (patch) | |
tree | 2205f04cc6918bc4f802100733862f6e73a182d5 | |
parent | 766b6b606e1cff6c9c9c399ac37727c5206fded9 (diff) | |
download | php-git-7c8ff91218425d8976ada68b7743eef8a1b4ba5c.tar.gz |
You might as well have 'the Steph special' too :-)
I can never remember the cscript line, so let's just have 'configure' instead.
-rw-r--r-- | win32/build/buildconf.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/win32/build/buildconf.js b/win32/build/buildconf.js index a1b1331bf6..d04f192cde 100644 --- a/win32/build/buildconf.js +++ b/win32/build/buildconf.js @@ -16,12 +16,13 @@ +----------------------------------------------------------------------+ */ -/* $Id: buildconf.js,v 1.13.2.2.2.1 2007-01-01 19:32:09 iliaa Exp $ */ +/* $Id: buildconf.js,v 1.13.2.2.2.1.2.1 2008-03-18 03:23:14 sfox Exp $ */ // This generates a configure script for win32 build WScript.StdOut.WriteLine("Rebuilding configure.js"); var FSO = WScript.CreateObject("Scripting.FileSystemObject"); var C = FSO.CreateTextFile("configure.js", true); +var B = FSO.CreateTextFile("configure.bat", true); var modules = ""; var MODULES = WScript.CreateObject("Scripting.Dictionary"); @@ -259,5 +260,6 @@ C.Write(modules); C.WriteBlankLines(1); C.Write(file_get_contents("win32/build/configure.tail")); -WScript.StdOut.WriteLine("Now run 'cscript /nologo configure.js --help'"); - +B.WriteLine("@echo off"); +B.WriteLine("cscript /nologo configure.js %*"); +WScript.StdOut.WriteLine("Now run 'configure --help'"); |