Skip to content
Newer
Older
100644 39 lines (31 sloc) 949 Bytes
ec16121 @yangtse fix EOL
yangtse authored
1 @echo off
efec05d @yangtse Ensure that buildconf.bat does nothing unless it is used with a CVS c…
yangtse authored
2 REM
3 REM
753b2a0 @bagder modified to use the git file, not cvs
bagder authored
4 REM This batch file must be used to set up a git tree to build on
efec05d @yangtse Ensure that buildconf.bat does nothing unless it is used with a CVS c…
yangtse authored
5 REM systems where there is no autotools support (i.e. Microsoft).
6 REM
7 REM This file is not included nor needed for curl's release
8 REM archives, neither for curl's daily snapshot archives.
9
753b2a0 @bagder modified to use the git file, not cvs
bagder authored
10 if exist GIT-INFO goto start_doing
11 ECHO ERROR: This file shall only be used with a curl git tree checkout.
efec05d @yangtse Ensure that buildconf.bat does nothing unless it is used with a CVS c…
yangtse authored
12 goto end_all
13 :start_doing
ec16121 @yangtse fix EOL
yangtse authored
14
15 REM create hugehelp.c
efec05d @yangtse Ensure that buildconf.bat does nothing unless it is used with a CVS c…
yangtse authored
16 if not exist src\hugehelp.c.cvs goto end_hugehelp_c
17 copy /Y src\hugehelp.c.cvs src\hugehelp.c
18 :end_hugehelp_c
ec16121 @yangtse fix EOL
yangtse authored
19
20 REM create Makefile
efec05d @yangtse Ensure that buildconf.bat does nothing unless it is used with a CVS c…
yangtse authored
21 if not exist Makefile.dist goto end_makefile
22 copy /Y Makefile.dist Makefile
23 :end_makefile
ec16121 @yangtse fix EOL
yangtse authored
24
25 REM create curlbuild.h
efec05d @yangtse Ensure that buildconf.bat does nothing unless it is used with a CVS c…
yangtse authored
26 if not exist include\curl\curlbuild.h.dist goto end_curlbuild_h
27 copy /Y include\curl\curlbuild.h.dist include\curl\curlbuild.h
28 :end_curlbuild_h
ec16121 @yangtse fix EOL
yangtse authored
29
753b2a0 @bagder modified to use the git file, not cvs
bagder authored
30 REM setup c-ares git tree
ec16121 @yangtse fix EOL
yangtse authored
31 if not exist ares\buildconf.bat goto end_c_ares
32 cd ares
33 call buildconf.bat
34 cd ..
35 :end_c_ares
36
efec05d @yangtse Ensure that buildconf.bat does nothing unless it is used with a CVS c…
yangtse authored
37 :end_all
38
Something went wrong with that request. Please try again.