]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Reintroduce old installation behavior 510/head
authorMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Tue, 10 Feb 2015 16:55:13 +0000 (17:55 +0100)
committerMatthias Maier <tamiko@43-1.org>
Tue, 10 Feb 2015 21:37:48 +0000 (22:37 +0100)
cmake/setup_deal_ii.cmake

index 0ddabe5a51160a535b2ec4cfe6688abf0b5f34a0..eb0c101b4670dede9b8b5c1c313b0d0af2bf5676 100644 (file)
@@ -117,7 +117,7 @@ SET_IF_EMPTY(DEAL_II_DEBUG_SUFFIX ".g")
 SET_IF_EMPTY(DEAL_II_RELEASE_SUFFIX "")
 
 #
-# Try to obey the FSHS...
+# Try to obey the FSHS as close as possible ...
 #
 SET_IF_EMPTY(DEAL_II_EXECUTABLE_RELDIR "bin")
 SET_IF_EMPTY(DEAL_II_INCLUDE_RELDIR "include")
@@ -125,9 +125,12 @@ SET_IF_EMPTY(DEAL_II_LIBRARY_RELDIR "lib${LIB_SUFFIX}")
 SET_IF_EMPTY(DEAL_II_PROJECT_CONFIG_RELDIR "${DEAL_II_LIBRARY_RELDIR}/cmake/${DEAL_II_PROJECT_CONFIG_NAME}")
 SET_IF_EMPTY(DEAL_II_SHARE_RELDIR "share/${DEAL_II_PACKAGE_NAME}")
 SET_IF_EMPTY(DEAL_II_CMAKE_MACROS_RELDIR "${DEAL_II_SHARE_RELDIR}/cmake/macros")
-SET_IF_EMPTY(DEAL_II_DOCREADME_RELDIR "share/doc/${DEAL_II_PACKAGE_NAME}")
-SET_IF_EMPTY(DEAL_II_DOCHTML_RELDIR "${DEAL_II_DOCREADME_RELDIR}/html")
-SET_IF_EMPTY(DEAL_II_EXAMPLES_RELDIR "${DEAL_II_DOCREADME_RELDIR}/examples")
+#
+# ... but install the documentation into prominent places:
+#
+SET_IF_EMPTY(DEAL_II_DOCREADME_RELDIR "./")
+SET_IF_EMPTY(DEAL_II_DOCHTML_RELDIR "doc")
+SET_IF_EMPTY(DEAL_II_EXAMPLES_RELDIR "examples")
 
 IF(CMAKE_BUILD_TYPE MATCHES "Debug")
   LIST(APPEND DEAL_II_BUILD_TYPES "DEBUG")

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.