1 mike 1.1 REM Execute DOC++ on the PegasusManual
2 REM ECHO OFF
3 REM The following Did not work for some reason and I don't have time to look further.
4 REM if %@index[%path%,"DOC++"] != -1 GOTO DONE
5
6 REM TODO - test for existance of PEGASUS_ROOT and PEGASUS_HOME
7
8 if defined DOCPLUSPLUS GOTO DONE
9 set DOCPLUSPLUS=f:\"Program Files"\DOC++\DOC++347
10 set SWIG=f:\packages\swig13aNT
11 set PEGASUSMANUAL_HOME=%PEGASUS_HOME%/manualhtml
12
13 REM echo This is what the index shows after %@index[%path%,"DOC++"]
14 set path=%path%;e:\cygnus\bin
15 set path=%path%;%DOCPLUSPLUS%
16 set path=%path%;%SWIG%
17 :DONE
18
19 IF NOT EXIST %PEGASUSMANUAL_HOME%\pegasus.html GOTO BYPASSDELETE
20
21
22 mike 1.1 ECHO del %PEGASUSMANUAL_HOME%\*.html /Y /Q
23 ECHO del %PEGASUSMANUAL_HOME%\*.html /Y /Q
24 pause
25 del %PEGASUSMANUAL_HOME%\*.html /Y /Q
26 del %PEGASUSMANUAL_HOME%\*.html /Y /Q
27 DIR
28
29 :BYPASSDELETE
30 REM Execute
31 CD %PEGASUS_ROOT%\doc\DEVMANUAL
32 IF NOT Exist pegasusdoc.dxx GOTO ERROR
33 docxx --dir %PEGASUSMANUAL_HOME% --verbose -H pegasusdoc.dxx
34 mu copy *.gif %PEGASUSMANUAL_HOME%
35 REM -a parameters says do things with tables
36 CD %PEGASUS_ROOT%
37 CD ..\
38 Quit
39 ERROR:
40 ECHO You are not in the directory with the Pegasus Documentation source files.
41 ECHO could not find pegasusdoc.dxx
|