mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
TBR: reviewed at: http://codereview.chromium.org/3001002/show
This commit is contained in:
parent
d27f9039b5
commit
ee04e47a48
@ -61,13 +61,23 @@ function main() {
|
|||||||
tar --bzip2 -xf autotest.tar.bz2
|
tar --bzip2 -xf autotest.tar.bz2
|
||||||
|
|
||||||
# Create HTML and PDF test documentation for HWQual Tests.
|
# Create HTML and PDF test documentation for HWQual Tests.
|
||||||
echo "Generating test documentation..."
|
# We need doxygen 1.6.1 or later to run CreateDocs.py
|
||||||
cd "${docgen_dir}"
|
doxygen_version=$(doxygen --version)
|
||||||
./CreateDocs.py --docversion ${FLAGS_output_tag} --html ${html_target}
|
if [[ $? -eq 0 ]]; then
|
||||||
make -C latex pdf
|
if [[ "$doxygen_version" > "1.6.0" ]]; then
|
||||||
mv latex/refman.pdf "${html_target}/HWQual.pdf"
|
echo "Generating test documentation..."
|
||||||
# Clean up the generated files.
|
cd "${docgen_dir}"
|
||||||
rm -rf testsource latex *.log
|
./CreateDocs.py --docversion ${FLAGS_output_tag} --html ${html_target}
|
||||||
|
make -C latex pdf
|
||||||
|
mv latex/refman.pdf "${html_target}/HWQual.pdf"
|
||||||
|
# Clean up the generated files.
|
||||||
|
rm -rf testsource latex *.log
|
||||||
|
else
|
||||||
|
warn "doxygen is $doxygen_version, should be 1.6.1 or later."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
warn "doxygen is not installed. Install version 1.6.1 or later."
|
||||||
|
fi
|
||||||
|
|
||||||
cd "${TMP}"
|
cd "${TMP}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user