blob: dc55fab893dbebfc4a64205feafad864a7205190 [file] [log] [blame]
Bertrand SIMONNETe6cd7382015-07-01 15:39:44 -07001@echo off
2REM
3REM
4REM This batch file must be used to set up a git tree to build on
5REM systems where there is no autotools support (i.e. Microsoft).
6REM
7REM This file is not included nor needed for curl's release
8REM archives, neither for curl's daily snapshot archives.
9
10if exist GIT-INFO goto start_doing
11ECHO ERROR: This file shall only be used with a curl git tree checkout.
12goto end_all
13:start_doing
14
15REM create tool_hugehelp.c
16if not exist src\tool_hugehelp.c.cvs goto end_hugehelp_c
17copy /Y src\tool_hugehelp.c.cvs src\tool_hugehelp.c
18:end_hugehelp_c
19
20REM create Makefile
21if not exist Makefile.dist goto end_makefile
22copy /Y Makefile.dist Makefile
23:end_makefile
24
25REM create curlbuild.h
26if not exist include\curl\curlbuild.h.dist goto end_curlbuild_h
27copy /Y include\curl\curlbuild.h.dist include\curl\curlbuild.h
28:end_curlbuild_h
29
30REM setup c-ares git tree
31if not exist ares\buildconf.bat goto end_c_ares
32cd ares
33call buildconf.bat
34cd ..
35:end_c_ares
36
37:end_all
38