Read doxygen version from version.txt file

This commit is contained in:
Pedro 2015-03-04 22:36:10 +00:00
parent 606ffebd47
commit c8506c3095
2 changed files with 8 additions and 6 deletions

View file

@ -9,6 +9,8 @@
TIDY_PATH="./tidy5" # Current directory. TIDY_PATH="./tidy5" # Current directory.
TIDY_VERSION=`cat ../../version.txt`
cat << HEREDOC cat << HEREDOC
@ -104,7 +106,7 @@ hash doxygen 2>/dev/null || { echo "- doxygen not found. This script requires do
if [ "$BUILD_API" -eq 1 ]; then 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"
doxygen "$DOXY_CFG" > /dev/null ( cat "$DOXY_CFG"; echo "PROJECT_NUMBER=$TIDY_VERSION" ) | doxygen - > /dev/null
echo "\nTidyLib API documentation has been built." echo "\nTidyLib API documentation has been built."
else else
echo "* $OUTP_DIR/tidylib_api/ was skipped because not all dependencies were satisfied." echo "* $OUTP_DIR/tidylib_api/ was skipped because not all dependencies were satisfied."

View file

@ -475,14 +475,14 @@ INLINE_INFO = YES
# alphabetically by member name. If set to NO the members will appear in # alphabetically by member name. If set to NO the members will appear in
# declaration order. # declaration order.
SORT_MEMBER_DOCS = NO SORT_MEMBER_DOCS = YES
# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
# brief documentation of file, namespace and class members alphabetically # brief documentation of file, namespace and class members alphabetically
# by member name. If set to NO (the default) the members will appear in # by member name. If set to NO (the default) the members will appear in
# declaration order. # declaration order.
SORT_BRIEF_DOCS = NO SORT_BRIEF_DOCS = YES
# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen # If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
# will sort the (brief and detailed) documentation of class members so that # will sort the (brief and detailed) documentation of class members so that
@ -498,7 +498,7 @@ SORT_MEMBERS_CTORS_1ST = NO
# hierarchy of group names into alphabetical order. If set to NO (the default) # hierarchy of group names into alphabetical order. If set to NO (the default)
# the group names will appear in their defined order. # the group names will appear in their defined order.
SORT_GROUP_NAMES = NO SORT_GROUP_NAMES = YES
# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
# sorted by fully-qualified names, including namespaces. If set to # sorted by fully-qualified names, including namespaces. If set to
@ -508,7 +508,7 @@ SORT_GROUP_NAMES = NO
# Note: This option applies only to the class list, not to the # Note: This option applies only to the class list, not to the
# alphabetical list. # alphabetical list.
SORT_BY_SCOPE_NAME = NO SORT_BY_SCOPE_NAME = YES
# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to # If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to
# do proper type resolution of all parameters of a function it will reject a # do proper type resolution of all parameters of a function it will reject a
@ -624,7 +624,7 @@ WARNINGS = YES
# for undocumented members. If EXTRACT_ALL is set to YES then this flag will # for undocumented members. If EXTRACT_ALL is set to YES then this flag will
# automatically be disabled. # automatically be disabled.
WARN_IF_UNDOCUMENTED = NO WARN_IF_UNDOCUMENTED = YES
# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
# potential errors in the documentation, such as not documenting some # potential errors in the documentation, such as not documenting some