Changeset 25525

Show
Ignore:
Timestamp:
04.05.2012 17:36:29 (7 years ago)
Author:
ak19
Message:

Added a Compile All command without turning debugging on.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/makegs2.bat

    r24832 r25525  
    139139echo 2. Web library only 
    140140echo 3. Apache local library (needs Microsoft Platform SDK) 
    141 echo 4. All (with Debugging turned on) 
    142 echo 5. Clean (when re-compiling all, do this before step 4) 
    143 echo 6. Quit 
     141echo 4. All 
     142echo 5. All (with Debugging ON) 
     143echo 6. Clean (when re-compiling all, do this before step 5) 
     144echo 7. Quit 
    144145echo. 
    145146echo Please choose a number from the menu. Otherwise both libraries will be compiled in 15 seconds. 
    146 .\bin\windows\choice.exe /N /T:3,15 /C:123456 
    147     IF errorlevel 6 GOTO END 
    148     IF errorlevel 5 GOTO DOCLEAN 
     147.\bin\windows\choice.exe /N /T:3,15 /C:1234567 
     148    IF errorlevel 7 GOTO END 
     149    IF errorlevel 6 GOTO DOCLEAN 
     150    IF errorlevel 5 GOTO WITHALLDEBUG 
    149151    IF errorlevel 4 GOTO WITHALL 
    150152    IF errorlevel 3 GOTO WITHAPACHE 
     
    182184 
    183185:WITHALL 
     186:: Now unpack the custom GS2 apache web server tar.gz file, if not already unpacked 
     187IF 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 
     188 
     189echo. 
     190echo. 
     191nmake /f win32.mak 
     192nmake /f win32.mak LOCAL_LIBRARY=1 
     193nmake /f win32.mak APACHE_HTTPD=1 
     194GOTO ENDOK 
     195 
     196:WITHALLDEBUG 
    184197:: Now unpack the custom GS2 apache web server tar.gz file, if not already unpacked 
    185198IF 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