blob: 4d68d0736a58220880970fa3af6a71b28a49e64c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
set deploydir=deploy
rem Create the build directory
MKDIR %deploydir%
MKDIR %deploydir%\cgi-bin
MKDIR %deploydir%\bugs
MKDIR %deploydir%\captchas
rem And copy the settings in
COPY config.h src\config.h
rem Compile the CGI scripts
gcc src\bugcomment.c src\shared.c
MOVE a.exe %deploydir%\cgi-bin\bugcomment.cgi
gcc src\bugsdata.c src\shared.c
MOVE a.exe %deploydir%\cgi-bin\bugsdata.cgi
gcc src\gencaptcha.c src\shared.c
MOVE a.exe %deploydir%\cgi-bin\gencaptcha.cgi
gcc src\newbug.c src\shared.c
MOVE a.exe %deploydir%\cgi-bin\newbug.cgi
gcc src\showbug.c src\shared.c
MOVE a.exe %deploydir%\cgi-bin\showbug.cgi
DEL src\config.h
rem Copy the html, javascript, and css files
COPY src\*.txt %deploydir%\
COPY src\*.html %deploydir%\
COPY src\*.js %deploydir%\
COPY src\*.css %deploydir%\
pause
|