added batch script for generating wx HTML manual from windows; added a comment about...
[wxWidgets.git] / docs / doxygen / regen.sh
1 #!/bin/sh
2
3 # $Id$
4
5 # This bash script regenerates the HTML doxygen version of the
6 # wxWidgets manual and adjusts the doxygen log to make it more
7 # readable.
8
9 doxygen
10
11 # this image is not automatically copied by Doxygen because it's not
12 # used in doxygen documentation but only in our html footer...
13 cp images/powered-by-wxwidgets.png out/html
14
15 # this CSS is automatically copied by Doxygen because it's
16 # included by our custom html header...
17 cp wxwidgets.css out/html
18
19 # Doxygen has the annoying habit to put the full path of the
20 # affected files in the log file; remove it to make the log
21 # more readable
22 currpath=`pwd`/
23 interfacepath=`cd ../../interface && pwd`/
24 cat doxygen.log | sed -e "s|$currpath||g" -e "s|$interfacepath||g" >temp
25 mv temp doxygen.log
26
27 # filter out the following warning which we don't care about
28 cat doxygen.log | grep -v ".*supplied.*as.*the.*argument.*is.*not.*an.*input.*file.*" >temp
29 mv temp doxygen.log
30