Set correct tify5 path in build_docs, include License and tweaks

This commit is contained in:
Pedro 2015-03-05 20:22:32 +00:00
parent e5f029cda6
commit f15bcf8808
3 changed files with 23 additions and 3 deletions

10
build/documentation/.gitignore vendored Normal file
View file

@ -0,0 +1,10 @@
# file created during build_docs
# = tidy5 -h > tidy5.cmd.txt
examples/tidy5.cmd.txt
# The license file needs to copies to examples for \include
examples/LICENSE.md

View file

@ -7,7 +7,7 @@
# documentation. Relative path is okay. You shouldn't have to change this # documentation. Relative path is okay. You shouldn't have to change this
# too often if your compiler always puts tidy in the same place. # too often if your compiler always puts tidy in the same place.
TIDY_PATH="./tidy5" # Current directory. TIDY_PATH="../cmake/tidy5" # Current directory.
TIDY_VERSION=`cat ../../version.txt` TIDY_VERSION=`cat ../../version.txt`
@ -108,7 +108,10 @@ if [ "$BUILD_API" -eq 1 ]; then
echo "The following is doxygen's stderr output. It doesn't indicate errors with this script:\n" echo "The following is doxygen's stderr output. It doesn't indicate errors with this script:\n"
# echo the output of tidy5 --help so we can include # echo the output of tidy5 --help so we can include
$TIDY_PATH -h > "./tidy5.cmd.txt" $TIDY_PATH -h > "./examples/tidy5.cmd.txt"
## copy license file to examples for includsing
cp ../../LICENSE.md ./examples/
## this lot ## this lot
# - echos and catches outputs the doxygen config # - echos and catches outputs the doxygen config

View file

@ -20,7 +20,7 @@
- \ref tidylib - \ref tidylib
- \ref building_tidy - \ref building_tidy
- \ref history - \ref history
- \ref license
@ -162,4 +162,11 @@ being developed and prepped for a new, stable, and modern release.</p>
<p>HTACG is also working diligently with the SourceForge maintainers in an effort <p>HTACG is also working diligently with the SourceForge maintainers in an effort
to harmonize <strong>HTML Tidy</strong> into a single, stable, solid release once again.</p> to harmonize <strong>HTML Tidy</strong> into a single, stable, solid release once again.</p>
\page license License
<pre>
\htmlinclude LICENSE.md
</pre>
*/ */