Changeset 24461 for main/trunk
- Timestamp:
- 2011-08-24T15:59:28+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/makegs2.bat
r22766 r24461 131 131 echo 1. Local library only 132 132 echo 2. Web library only 133 echo 3. Both 134 echo 4. Apache local library (needs Microsoft Platform SDK) 135 echo 5. Quit 133 echo 3. Apache local library (needs Microsoft Platform SDK) 134 echo 4. All (with Debugging turned on) 135 echo 5. Clean (when re-compiling all, do this before step 4) 136 echo 6. Quit 136 137 echo. 137 138 echo Please choose a number from the menu. Otherwise both libraries will be compiled in 15 seconds. 138 139 .\bin\windows\choice.exe /N /T:3,15 /C:12345 139 IF errorlevel 5 GOTO END 140 IF errorlevel 4 GOTO WITHAPACHE 141 IF errorlevel 3 GOTO WITHBOTH 140 IF errorlevel 6 GOTO END 141 IF errorlevel 5 GOTO DOCLEAN 142 IF errorlevel 4 GOTO WITHALL 143 IF errorlevel 3 GOTO WITHAPACHE 142 144 IF errorlevel 2 GOTO WITHOUTLOCALLIB 143 145 IF errorlevel 1 GOTO WITHLOCALLIB 144 146 IF errorlevel 0 GOTO END 145 147 146 148 :DOCLEAN 149 echo. 150 echo. 151 nmake /f win32.mak CLEAN 152 GOTO ENDOK 153 147 154 :WITHAPACHE 148 155 :: Only compile up the Apache web server if we're asked to … … 167 174 GOTO ENDOK 168 175 169 :WITHBOTH 170 echo. 171 echo. 172 nmake /f win32.mak 173 nmake /f win32.mak LOCAL_LIBRARY=1 176 :WITHALL 177 :: Now unpack the custom GS2 apache web server tar.gz file, if not already unpacked 178 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 179 180 echo. 181 echo. 182 nmake /f win32.mak DEBUG=1 183 nmake /f win32.mak LOCAL_LIBRARY=1 DEBUG=1 184 nmake /f win32.mak APACHE_HTTPD=1 DEBUG=1 174 185 GOTO ENDOK 175 186
Note:
See TracChangeset
for help on using the changeset viewer.