]>
Commit | Line | Data |
---|---|---|
4411a6b6 FM |
1 | #!/bin/sh |
2 | ||
cba817ac FM |
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 | ||
4411a6b6 FM |
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 | |
d513b59d FM |
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`/ | |
2c58a7e7 FM |
23 | interfacepath=`cd ../../interface && pwd`/ |
24 | cat doxygen.log | sed -e "s|$currpath||g" -e "s|$interfacepath||g" >temp | |
4514447c FM |
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 |