mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 15:08:28 -04:00
23bddca1af
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1288 f9c3cf11-9bcb-44bc-f272-b75c42450872
31 lines
635 B
Bash
Executable File
31 lines
635 B
Bash
Executable File
#!/bin/bash
|
|
rm -rf html
|
|
svn cleanup
|
|
svn update html
|
|
|
|
junkFiles=$(find html -regex ".*\.\(map\|md5\)")
|
|
svn remove --force $junkFiles
|
|
svn commit
|
|
|
|
doxygen Doxyfile
|
|
doxygen -w html html/header.html html/footer.html html/stylesheet.css
|
|
|
|
find html -regex ".*\.\(map\|md5\)" -exec rm {} \;
|
|
svn add --force html/*
|
|
|
|
for imageExt in "png"
|
|
do
|
|
imageFiles=$(find html -name *.$imageExt)
|
|
echo image files: $imageFiles
|
|
svn propset svn:mime-type image/$imageExt $imageFiles
|
|
done
|
|
|
|
for textExt in "html css"
|
|
do
|
|
textFiles=$(find html -name *.$textExt)
|
|
echo text files: $textFiles
|
|
svn propset svn:mime-type text/$textExt $textFiles
|
|
done
|
|
|
|
svn commit
|