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


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to