if /i "%~1" == "-h" goto syntax
if /i "%~1" == "-help" goto syntax
+ rem Switch to this batch file's directory
+ cd /d "%~0\.." 1>NUL 2>&1
+
if not exist GIT-INFO goto nogitinfo
rem Set our variables
call :gen_hugehelp
if errorlevel 1 goto nogenhugehelp
) else if "%VERSION%" == "ALL" (
- echo.
- echo Removing prerequisite files
- call :clean ..\include\curl\curlbuild.h
- call :clean ..\src\tool_hugehelp.c
+ call ..\buildconf -clean
)
if "%VERSION%" == "VC6" goto vc6
if "%VERSION%" == "VC7" goto vc7