Changeset 31422 for main/trunk/greenstone2/makegs2.bat
- Timestamp:
- 2017-02-16T18:46:38+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/makegs2.bat
r31421 r31422 21 21 CD /D "%~dp0" 22 22 23 :: Change this if the extracted folder name of the apache-httpd2 within runtime-src\packages\apache-httpd ever changes 24 set httpddir=httpd-2.2.11 23 25 24 26 :: Set this to "true" if this script can attempt to setup the environment for compilation for you (leave empty if you will do it) … … 199 201 :WITHAPACHE 200 202 :: Only compile up the Apache web server if we're asked to 203 :: After unpacking apache httpd 2, patch up the .mak files to prevent the compile failure 204 :: due to a race condition. (The release kit does this patch for GS2 using custom ant tasks) 205 :: Then can finally start compiling GS2 with apache-httpd. 201 206 202 207 :: Now unpack the custom GS2 apache web server tar.gz file 203 :: and patch up the .mak files to prevent the compile failure due to a race condition 204 :: (The release kit does this for GS2 using custom ant tasks) 205 :: Then can start compiling GS2 with apache-httpd 206 IF NOT EXIST .\runtime-src\packages\apache-httpd\httpd-2.2.11\nul ( 207 .\bin\windows\gunzip.exe -cd .\runtime-src\packages\apache-httpd\httpd-*.tar.gz | .\bin\windows\tar.exe xv --directory=./runtime-src/packages/apache-httpd 208 runtime-src\packages\apache-httpd\adjust-winmak-files.bat httpd-2.2.11 208 IF NOT EXIST .\runtime-src\packages\apache-httpd\%httpddir%\nul ( 209 .\bin\windows\gunzip.exe -cd .\runtime-src\packages\apache-httpd\httpd-*.tar.gz | .\bin\windows\tar.exe xv --directory=./runtime-src/packages/apache-httpd 210 call runtime-src\packages\apache-httpd\adjust-winmak-files.bat %httpddir% 209 211 ) 210 212 nmake /f win32.mak APACHE_HTTPD=1 … … 226 228 :WITHALL 227 229 :: Now unpack the custom GS2 apache web server tar.gz file, if not already unpacked 228 IF NOT EXIST .\runtime-src\packages\apache-httpd\httpd-2.2.11\nul .\bin\windows\gunzip.exe -cd .\runtime-src\packages\apache-httpd\httpd-*.tar.gz | .\bin\windows\tar.exe xv --directory=./runtime-src/packages/apache-httpd 230 IF NOT EXIST .\runtime-src\packages\apache-httpd\%httpddir%\nul ( 231 .\bin\windows\gunzip.exe -cd .\runtime-src\packages\apache-httpd\httpd-*.tar.gz | .\bin\windows\tar.exe xv --directory=./runtime-src/packages/apache-httpd 232 call runtime-src\packages\apache-httpd\adjust-winmak-files.bat %httpddir% 233 ) 229 234 230 235 echo. … … 237 242 :WITHALLDEBUG 238 243 :: Now unpack the custom GS2 apache web server tar.gz file, if not already unpacked 239 IF NOT EXIST .\runtime-src\packages\apache-httpd\httpd-2.2.11\nul .\bin\windows\gunzip.exe -cd .\runtime-src\packages\apache-httpd\httpd-*.tar.gz | .\bin\windows\tar.exe xv --directory=./runtime-src/packages/apache-httpd 244 IF NOT EXIST .\runtime-src\packages\apache-httpd\%httpddir%\nul ( 245 .\bin\windows\gunzip.exe -cd .\runtime-src\packages\apache-httpd\httpd-*.tar.gz | .\bin\windows\tar.exe xv --directory=./runtime-src/packages/apache-httpd 246 call runtime-src\packages\apache-httpd\adjust-winmak-files.bat %httpddir% 247 ) 240 248 241 249 echo.
Note:
See TracChangeset
for help on using the changeset viewer.