]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Several bugfixes for CPack
authorMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 28 Mar 2013 23:41:37 +0000 (23:41 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 28 Mar 2013 23:41:37 +0000 (23:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@29108 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/README
deal.II/cmake/setup_deal_ii.cmake
deal.II/doc/CMakeLists.txt
deal.II/doc/development/Config.sample
deal.II/doc/doxygen/CMakeLists.txt
deal.II/doc/doxygen/tutorial/CMakeLists.txt

index c61eac5950644412281d32fa7ff75cbcf8d963ed..c82e5655436c91bac9dca35da7923e4ba605e93a 100644 (file)
@@ -1,14 +1,27 @@
+What is deal.II?
+
+  deal.II is a C++ program library targeted at the computational solution of
+  partial differential equations using adaptive finite elements. It uses
+  state-of-the-art programming techniques to offer you a modern interface to
+  the complex data structures and algorithms required.
+
 For the impatient one:
 
-Configure compile and install the deal.II library with:
+  Configure compile and install the deal.II library with:
+
+  $ mkdir build
+  $ cd build
+  $ cmake -DCMAKE_INSTALL_PREFIX=/path/where/deal.II/should/be/intalled/to ..
+  $ make install    (alternatively $ make -j<N> install)
+
+  A detailed ReadME can be found at ./doc/readme.html and
+  ./doc/development/cmake.html or at http://www.dealii.org/.
+
+Getting started:
 
-    $ mkdir build
-    $ cd build
-    $ cmake -DCMAKE_INSTALL_PREFIX=/path/where/deal.II/should/be/intalled/to ..
-    $ make install    (alternatively $ make -j<N> install)
+  The tutorial steps are located under ./examples
+  Information about the tutorial steps can be found at
+  ./doc/doxygen/tutorial/index.html or at http://www.dealii.org/.
 
-A detailed ReadME can be found at
-    doc/readme.html and
-    doc/development/cmake.html
-or at
-    http://dealii.org/.
+For further information have a look at ./doc/readme.html or at
+http://www.dealii.org.
index e6195d3b96e19c2b3c0c141d8a03d64b0de93f5a..9742ac9d84455c6187e5f2003c57ed2e1cc04aab 100644 (file)
@@ -40,7 +40,8 @@
 #
 #     DEAL_II_PATH                    *)
 #     DEAL_II_CMAKE_MACROS_RELDIR     *)
-#     DEAL_II_DOCUMENTATION_RELDIR    *)
+#     DEAL_II_DOCHTML_RELDIR          *)
+#     DEAL_II_DOCREADME_RELDIR        *)
 #     DEAL_II_EXAMPLES_RELDIR         *)
 #     DEAL_II_EXECUTABLE_RELDIR       *)
 #     DEAL_II_INCLUDE_RELDIR          *)
@@ -67,7 +68,7 @@ SET_IF_EMPTY(DEAL_II_PACKAGE_NAME "deal.II")
 
 SET_IF_EMPTY(DEAL_II_PACKAGE_VERSION "8.0.pre") # TODO: Get this value from somewhere else
 
-SET_IF_EMPTY(DEAL_II_PACKAGE_VENDOR "http://www.dealii.org/")
+SET_IF_EMPTY(DEAL_II_PACKAGE_VENDOR "The deal.II Authors <http://www.dealii.org/>")
 
 STRING(REGEX REPLACE
   "^([0-9]+)\\..*" "\\1" DEAL_II_VERSION_MAJOR "${DEAL_II_PACKAGE_VERSION}"
@@ -99,7 +100,8 @@ IF(DEAL_II_COMPONENT_COMPAT_FILES)
   #
   SET_IF_EMPTY(DEAL_II_CMAKE_MACROS_RELDIR "cmake/macros")
   SET_IF_EMPTY(DEAL_II_COMMON_RELDIR "common")
-  SET_IF_EMPTY(DEAL_II_DOCUMENTATION_RELDIR "doc")
+  SET_IF_EMPTY(DEAL_II_DOCREADME_RELDIR "")
+  SET_IF_EMPTY(DEAL_II_DOCHTML_RELDIR "doc")
   SET_IF_EMPTY(DEAL_II_EXAMPLES_RELDIR "examples")
   SET_IF_EMPTY(DEAL_II_EXECUTABLE_RELDIR "bin")
   SET_IF_EMPTY(DEAL_II_INCLUDE_RELDIR "include")
@@ -112,7 +114,8 @@ ELSE()
   #
   SET_IF_EMPTY(DEAL_II_CMAKE_MACROS_RELDIR "share/${DEAL_II_PACKAGE_NAME}/cmake/Macros")
   SET_IF_EMPTY(DEAL_II_COMMON_RELDIR "share/${DEAL_II_PACKAGE_NAME}/common")
-  SET_IF_EMPTY(DEAL_II_DOCUMENTATION_RELDIR "share/doc/${DEAL_II_PACKAGE_NAME}/html")
+  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 "share/doc/${DEAL_II_PACKAGE_NAME}/examples")
   SET_IF_EMPTY(DEAL_II_EXECUTABLE_RELDIR "bin")
   SET_IF_EMPTY(DEAL_II_INCLUDE_RELDIR "include")
index fd7d788e0e916d29ac0c2034d3a2bb12a7c4eb0c..0ebd34ef88f2518e34451141114fc450ca9681f0 100644 (file)
@@ -48,7 +48,7 @@ IF(DEAL_II_COMPONENT_DOCUMENTATION)
   # Install the static elements of the html documentation:
   #
   INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
-    DESTINATION ${DEAL_II_DOCUMENTATION_RELDIR}
+    DESTINATION ${DEAL_II_DOCHTML_RELDIR}
     COMPONENT documentation
     PATTERN "CMakeLists.txt" EXCLUDE
     PATTERN "doxygen" EXCLUDE
@@ -61,9 +61,19 @@ IF(DEAL_II_COMPONENT_DOCUMENTATION)
     )
   INSTALL(FILES
     ${CMAKE_CURRENT_BINARY_DIR}/title.html
-    DESTINATION ${DEAL_II_DOCUMENTATION_RELDIR}
+    DESTINATION ${DEAL_II_DOCHTML_RELDIR}
     COMPONENT documentation
     )
 
 ENDIF(DEAL_II_COMPONENT_DOCUMENTATION)
 
+#
+# Always install a minimalistic README and LICENSE file:
+#
+SET(_destination)
+INSTALL(FILES
+  ${CMAKE_SOURCE_DIR}/README
+  ${CMAKE_SOURCE_DIR}/LICENSE
+  DESTINATION ${CMAKE_INSTALL_PREFIX}/${DEAL_II_DOCREADME_RELDIR}
+  COMPONENT library
+  )
index dac9a7c2dc6e329f7ed74b46fbf48e362df6ca7a..a1d5d62e89fc7a226e28d828e49e1660f9fd4063 100644 (file)
@@ -25,7 +25,7 @@
 #   )
 #
 # SET(DEAL_II_COMPONENT_DOCUMENTATION OFF CACHE BOOL
-#   "Enable configuration, build and installation of the documentation. This adds a COMPONENT \"documentation\" to the build system."
+#   "Enable configuration, build and installation of the html documentation. This adds a COMPONENT \"documentation\" to the build system."
 #   )
 #
 # SET(DEAL_II_COMPONENT_EXAMPLES ON CACHE BOOL
 #   "Relative installation directory for macros"
 #   )
 #
-# SET(DEAL_II_DOCUMENTATION_RELDIR "doc" CACHE STRING
+# SET(DEAL_II_DOCHTML_RELDIR "doc" CACHE STRING
 #   "Relative installation directory for html documentation"
 #   )
 #
+# SET(DEAL_II_DOCREADME_RELDIR "" CACHE STRING
+#   "Relative installation directory for readme"
+#   )
+#
 # SET(DEAL_II_EXAMPLES_RELDIR "examples" CACHE STRING
 #   "Relative installation directory for examples"
 #   )
index 3b777bb71d81d44bc3f8f3fac8d10da6536cab70..fbb13e8f2c8879009bf2afe44e24ae1aa5173828 100644 (file)
@@ -95,13 +95,13 @@ ADD_CUSTOM_TARGET(doxygen ALL
 
 INSTALL(FILES
   ${CMAKE_CURRENT_SOURCE_DIR}/stylesheet.css
-  DESTINATION ${DEAL_II_DOCUMENTATION_RELDIR}/doxygen
+  DESTINATION ${DEAL_II_DOCHTML_RELDIR}/doxygen
   COMPONENT documentation
   )
 
 INSTALL(DIRECTORY
   ${CMAKE_CURRENT_BINARY_DIR}/deal.II
-  DESTINATION ${DEAL_II_DOCUMENTATION_RELDIR}/doxygen
+  DESTINATION ${DEAL_II_DOCHTML_RELDIR}/doxygen
   COMPONENT documentation
   )
 
index a4d7c2e9748bb430b434b751aa67f2cf732a63f0..cde334966dd78a7728dd119f9f37bd8836da6cbd 100644 (file)
@@ -197,7 +197,7 @@ INSTALL(FILES
   toc-topics.html
   ${CMAKE_CURRENT_BINARY_DIR}/steps.png
   ${CMAKE_CURRENT_BINARY_DIR}/toc.html
-  DESTINATION ${DEAL_II_DOCUMENTATION_RELDIR}/doxygen/tutorial
+  DESTINATION ${DEAL_II_DOCHTML_RELDIR}/doxygen/tutorial
   COMPONENT documentation
   )
 

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.