From: Hendrik S. <po...@he...> - 2008-12-05 01:04:08
|
Calling it DOC_VERSION instead of SHORT_VERSION lines up better with the names of the other placeholders. Now, the autotools stuff only has to use them to switch from doc/Doxyfile to doc/Doxyfile.in. --- doc/CMakeLists.txt | 1 + doc/Doxyfile.in | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index ca27b98..a075ca8 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -11,6 +11,7 @@ set ( SOURCES find_package( Doxygen ) if ( DOXYGEN_FOUND ) string ( REPLACE ";" " " DOC_SOURCE_FILES "${SOURCES}" ) + set ( DOC_VERSION ${SHORT_VERSION} ) set ( DOC_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR} ) set ( DOC_OUTPUT_TYPES HTML diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 97f2dd1..be9e955 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = ASCII PROJECT_NAME = OpenOBEX -PROJECT_NUMBER = @SHORT_VERSION@ +PROJECT_NUMBER = @DOC_VERSION@ OUTPUT_DIRECTORY = @DOC_BINARY_DIR@ CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English -- 1.5.6.5 |