[go: up one dir, main page]

File: build-docs.bat

package info (click to toggle)
coin3 3.1.3-2.2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 48,368 kB
  • sloc: cpp: 314,329; ansic: 15,927; sh: 13,635; makefile: 8,772; perl: 2,149; lex: 1,302; lisp: 1,247; yacc: 184; xml: 175; sed: 68
file content (42 lines) | stat: -rwxr-xr-x 967 bytes parent folder | download | duplicates (10)
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
34
35
36
37
38
39
40
41
42
@echo off

set type=%1
set mode=%2
set msvc=%3
set libname=%4

set doxygen=%ProgramFiles%\doxygen\bin\doxygen.exe
set htmldir=..\html

rem ************************************************************************

if exist "%doxygen%" goto doxygenexists
echo
echo   You do not seem to have have doxygen.exe installed as
echo   %doxygen%.
echo
echo   Download the windows installer from www.doxygen.org, and
echo   install it to C:\Program Files\doxygen\, or you can edit the
echo   ..\misc\build-docs.bat script file to pick up doxygen from
echo   where you have installed it.
echo
exit 1

:doxygenexists

rem ************************************************************************

if exist %htmldir%\*.* goto htmldirexists
mkdir %htmldir%
:htmldirexists

echo Running doxygen (it may take a while)...
"%doxygen%" docs\%libname%.doxygen
echo Done.

echo Copying files...
xcopy ..\..\docs\doxygen\Coin_logo.png %htmldir%\ /R /Y

explorer %htmldir%\index.html
exit 0