]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Remove unnecessary file globs
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 24 Mar 2013 22:41:12 +0000 (22:41 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 24 Mar 2013 22:41:12 +0000 (22:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@29018 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/CMakeLists.txt
deal.II/examples/CMakeLists.txt

index a7000ed658631abb6513b27bf847491c1cb7c433..3b777bb71d81d44bc3f8f3fac8d10da6536cab70 100644 (file)
@@ -47,13 +47,11 @@ CONFIGURE_FILE(
 # Finalize the doxygen configuration:
 #
 file(GLOB doxygen_input
-  ${CMAKE_CURRENT_SOURCE_DIR}/headers/*.h
-  ${CMAKE_SOURCE_DIR}/contrib/parameter_gui/*.h
-  ${CMAKE_SOURCE_DIR}/contrib/parameter_gui/main.cpp
-  ${CMAKE_SOURCE_DIR}/doc/news/*.h
-  ${CMAKE_SOURCE_DIR}/include/deal.II/**/*.h
-
-  ${CMAKE_BINARY_DIR}/include/deal.II/base/config.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/headers
+  ${CMAKE_SOURCE_DIR}/contrib/parameter_gui
+  ${CMAKE_SOURCE_DIR}/doc/news
+  ${CMAKE_SOURCE_DIR}/include/deal.II/*/
+  ${CMAKE_BINARY_DIR}/include/deal.II/*/
   ${CMAKE_CURRENT_BINARY_DIR}/tutorial
   )
 TO_STRING(doxygen_input_string ${doxygen_input})
@@ -62,7 +60,6 @@ file(GLOB doxygen_image_path
   ${CMAKE_CURRENT_SOURCE_DIR}/images
   ${CMAKE_SOURCE_DIR}/examples/*/doc
   ${CMAKE_SOURCE_DIR}/contrib/parameter_gui/images
-
   ${CMAKE_CURRENT_BINARY_DIR}/images
   )
 TO_STRING(doxygen_image_path_string ${doxygen_image_path})
index 00c55439116653afb2ac71361724e4c9e56693da..e7cef1090dd400939fd1a7d3f78daed1ea954bd0 100644 (file)
 #####
 
 IF(DEAL_II_COMPONENT_EXAMPLES)
-  #
-  # Add a rule on how to install the examples:
-  #
-
-  file(GLOB _steps ${CMAKE_CURRENT_SOURCE_DIR}/step-*)
-
-  FOREACH(_step ${_steps})
-    INSTALL(DIRECTORY ${_step}
-      DESTINATION ${DEAL_II_EXAMPLES_RELDIR}
-      COMPONENT examples
-      PATTERN ".svn" EXCLUDE
-      PATTERN "doc" EXCLUDE
-      PATTERN "TODO" EXCLUDE
-      )
-  ENDFOREACH()
-
+  INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
+    DESTINATION ${DEAL_II_EXAMPLES_RELDIR}
+    COMPONENT examples
+    PATTERN "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt" EXCLUDE
+    PATTERN "doc" EXCLUDE
+    PATTERN "doxygen" EXCLUDE
+    PATTERN ".svn" EXCLUDE
+    PATTERN "TODO" EXCLUDE
+    )
 ENDIF()

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.