[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/soprano
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2010-08-18 14:28:50
Message-ID: 20100818142850.6D957AC855 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1165210 by trueg:
Fancy build rules to build and upload the api docs to sourceforge.net
M +31 -5 CMakeLists.txt
--- trunk/kdesupport/soprano/CMakeLists.txt #1165209:1165210
@@ -7,7 +7,7 @@
################## Soprano version ################################
set(CMAKE_SOPRANO_VERSION_MAJOR 2)
set(CMAKE_SOPRANO_VERSION_MINOR 5)
-set(CMAKE_SOPRANO_VERSION_RELEASE 0)
+set(CMAKE_SOPRANO_VERSION_RELEASE 60)
set(CMAKE_SOPRANO_VERSION_STRING \
"${CMAKE_SOPRANO_VERSION_MAJOR}.${CMAKE_SOPRANO_VERSION_MINOR}.${CMAKE_SOPRANO_VERSION_RELEASE}")
@@ -208,26 +208,52 @@
################## apidox ################################
-if(SOPRANO_BUILD_API_DOCS)
find_package(Doxygen)
if(DOXYGEN_EXECUTABLE)
configure_file(${soprano_SOURCE_DIR}/Doxyfile.cmake \
${soprano_BINARY_DIR}/Doxyfile) + set(QTDOCS_ONLINE \
"http://doc.qt.nokia.com/latest/")
if(EXISTS ${QT_DOC_DIR}/html)
set(QTDOCS "${QT_DOC_DIR}/html")
else(EXISTS ${QT_DOC_DIR}/html)
- set(QTDOCS "http://doc.trolltech.com/4.3/")
+ set(QTDOCS ${QTDOCS_ONLINE})
endif(EXISTS ${QT_DOC_DIR}/html)
+ if(SOPRANO_BUILD_API_DOCS)
add_custom_target(
apidox ALL
COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
- COMMAND docs/html/installdox -l qt4.tag@${QTDOCS} docs/html/*.html)
- endif(DOXYGEN_EXECUTABLE)
+ COMMAND docs/html/installdox -q -l qt4.tag@${QTDOCS} docs/html/*.html
+ COMMENT "Building Soprano API docs...")
+ else(SOPRANO_BUILD_API_DOCS)
+ add_custom_target(
+ apidox
+ COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
+ COMMAND docs/html/installdox -q -l qt4.tag@${QTDOCS} docs/html/*.html
+ COMMENT "Building Soprano API docs...")
endif(SOPRANO_BUILD_API_DOCS)
+ add_custom_target(
+ onlineapidox
+ COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
+ COMMAND docs/html/installdox -q -l qt4.tag@${QTDOCS_ONLINE} docs/html/*.html
+ COMMENT "Building Soprano API docs...")
+ add_custom_target(
+ stabledox
+ COMMAND rsync -zrtq docs/html/ \
$ENV{USER},soprano@web.sf.net:/home/groups/s/so/soprano/htdocs/apidox/stable + \
DEPENDS onlineapidox + COMMENT "Uploading stable API docs to Sourceforge...")
+
+ add_custom_target(
+ trunkdox
+ COMMAND rsync -zrtq docs/html/ \
$ENV{USER},soprano@web.sf.net:/home/groups/s/so/soprano/htdocs/apidox/trunk + \
DEPENDS onlineapidox + COMMENT "Uploading trunk API docs to Sourceforge...")
+endif(DOXYGEN_EXECUTABLE)
+
+
################## status messages ################################
message("---------------------------------------------------------------------------------------")
message("-- Soprano Components that will be built:")
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic