From 0a6ac0085c38946c43344652ae3409193561deaf Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Wed, 19 Dec 2007 12:29:36 +0000 Subject: Make all msvc build scripts use buildenv.pl, not buildenv.bat. Andrew Dunstan --- doc/src/sgml/install-win32.sgml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/install-win32.sgml b/doc/src/sgml/install-win32.sgml index a1588417472..9b4165bd542 100644 --- a/doc/src/sgml/install-win32.sgml +++ b/doc/src/sgml/install-win32.sgml @@ -1,4 +1,4 @@ - + Installation on <productname>Windows</productname> @@ -58,12 +58,11 @@ Before you build, edit the file config.pl to reflect the configuration options you want set, including the paths to libraries used. If you need to set any other environment variables, create a file called - buildenv.bat and put the required commands there. For + buildenv.pl and put the required commands there. For example, to add the path for bison when it's not in the PATH, create a file containing: - @ECHO OFF - SET PATH=%PATH%;c:\some\where\bison\bin + $ENV{PATH}=$ENV{PATH} . ';c:\some\where\bison\bin'; @@ -209,10 +208,10 @@ To change the default build configuration to debug, put the following - in the buildenv.bat file: + in the buildenv.pl file: - set CONFIG=Debug + $ENV{CONFIG}="Debug"; @@ -263,7 +262,7 @@ required parts first. Also, make sure that the DLLs required to load all parts of the system (such as the Perl and Python DLLs for the procedural languages) are present in the system path. If they are not, set it through - the buildenv.bat file. To run the tests, run one of + the buildenv.pl file. To run the tests, run one of the following commands from the src\tools\msvc directory: @@ -339,11 +338,10 @@ - Edit the buildenv.bat file, and add a variable for the + Edit the buildenv.pl file, and add a variable for the location of the root directory, for example: - @ECHO OFF - SET DOCROOT=c:\docbook + $ENV{DOCROOT}='c:\docbook'; To build the documentation, run the command builddoc.bat. Note that this will actually run the -- cgit v1.2.3