public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-office/libalkimia/files: libalkimia-4.3.2-doc.patch
@ 2012-01-29 18:34 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; only message in thread
From: Andreas HAttel (dilfridge) @ 2012-01-29 18:34 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/01/29 18:34:56

  Added:                libalkimia-4.3.2-doc.patch
  Log:
  Version bump, thanks to Jack Ostroff
  
  (Portage version: 2.1.10.44/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-office/libalkimia/files/libalkimia-4.3.2-doc.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libalkimia/files/libalkimia-4.3.2-doc.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libalkimia/files/libalkimia-4.3.2-doc.patch?rev=1.1&content-type=text/plain

Index: libalkimia-4.3.2-doc.patch
===================================================================
diff -ruN libalkimia-4.3.1.orig/libalkimia/CMakeLists.txt libalkimia-4.3.1/libalkimia/CMakeLists.txt
--- libalkimia-4.3.1.orig/libalkimia/CMakeLists.txt	2011-08-01 12:14:46.000000000 +0200
+++ libalkimia-4.3.1/libalkimia/CMakeLists.txt	2011-08-01 23:04:41.000000000 +0200
@@ -86,6 +86,8 @@
 endif(NOT WIN32)
 ########### documentation ###################
 
+if(BUILD_DOC)
+
 # check for Doxygen
 find_package(Doxygen)
 if(DOXYGEN_FOUND)
@@ -95,9 +97,20 @@
 
   configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libalkimia.doxygen.in ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen IMMEDIATE)
 
-  add_custom_target(libalkimia_apidoc ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen)
+  add_custom_target(libalkimia_apidoc ALL ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen)
+else(DOXYGEN_FOUND)
+  MESSAGE(FATAL_ERROR "API documentation requested but doxygen not found")
 endif(DOXYGEN_FOUND)
 
+ELSE(BUILD_DOC)
+
+  MESSAGE(STATUS "")
+  MESSAGE(STATUS "Documentation will NOT be installed")
+  MESSAGE(STATUS "Because the option -DBUILD_DOC=ON wasn't passed to cmake")
+  MESSAGE(STATUS "")
+
+ENDIF(BUILD_DOC)
+
 ########### tests ###################
 
 set( alkvaluetest_SRCS alkvaluetest.cpp )






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-29 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-29 18:34 [gentoo-commits] gentoo-x86 commit in app-office/libalkimia/files: libalkimia-4.3.2-doc.patch Andreas HAttel (dilfridge)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox