mirror of
https://github.com/curl/curl.git
synced 2026-07-23 08:57:18 +03:00
generate.bat: Use buildconf.bat for prerequisite file clean-up
This commit is contained in:
parent
f08e30d7bc
commit
473807b95f
2 changed files with 4 additions and 4 deletions
|
|
@ -35,6 +35,9 @@ rem snapshot archives.
|
||||||
if /i "%~1" == "-h" goto syntax
|
if /i "%~1" == "-h" goto syntax
|
||||||
if /i "%~1" == "-help" 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
|
if not exist GIT-INFO goto nogitinfo
|
||||||
|
|
||||||
rem Set our variables
|
rem Set our variables
|
||||||
|
|
|
||||||
|
|
@ -97,10 +97,7 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
|
||||||
call :gen_hugehelp
|
call :gen_hugehelp
|
||||||
if errorlevel 1 goto nogenhugehelp
|
if errorlevel 1 goto nogenhugehelp
|
||||||
) else if "%VERSION%" == "ALL" (
|
) else if "%VERSION%" == "ALL" (
|
||||||
echo.
|
call ..\buildconf -clean
|
||||||
echo Removing prerequisite files
|
|
||||||
call :clean ..\include\curl\curlbuild.h
|
|
||||||
call :clean ..\src\tool_hugehelp.c
|
|
||||||
)
|
)
|
||||||
if "%VERSION%" == "VC6" goto vc6
|
if "%VERSION%" == "VC6" goto vc6
|
||||||
if "%VERSION%" == "VC7" goto vc7
|
if "%VERSION%" == "VC7" goto vc7
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue