]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor updates. Ensure proper dependencies. 1667/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 24 Sep 2015 15:39:59 +0000 (10:39 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 22 Oct 2015 20:19:15 +0000 (15:19 -0500)
doc/doxygen/tutorial/CMakeLists.txt

index 80ba641cc86fc09c41e8a677d9f269782a857522..fd6a00656272ce8ed10e20b3325a1527cab88e76 100644 (file)
@@ -1,6 +1,6 @@
 ## ---------------------------------------------------------------------
 ##
-## Copyright (C) 2012 - 2014 by the deal.II Authors
+## Copyright (C) 2012 - 2015 by the deal.II Authors
 ##
 ## This file is part of the deal.II library.
 ##
 
 
 #
-# Prepare tutorial.h:
+# Define target for the tutorial. It depends on the
+# file tutorial.h built via the next target below, as well
+# as the various files we create from the tutorial 
+# directories below that. These dependencies are added
+# below the respective targets.
+#
+# This file uses the DEAL_II_STEPS variable set in
+# ../CMakeLists.txt.
+#
+
+ADD_CUSTOM_TARGET(tutorial)
+
+#
+# Describe how to build tutorial.h:
 #
 
 file(GLOB DEAL_II_STEPS_BUILDSON
   ${CMAKE_SOURCE_DIR}/examples/step-*/doc/builds-on
   )
+file(GLOB DEAL_II_STEPS_KIND
+  ${CMAKE_SOURCE_DIR}/examples/step-*/doc/kind
+  )
+file(GLOB DEAL_II_STEPS_TOOLTIP
+  ${CMAKE_SOURCE_DIR}/examples/step-*/doc/tooltip
+  )
 
 ADD_CUSTOM_COMMAND(
   OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/tutorial.h
@@ -33,16 +52,14 @@ ADD_CUSTOM_COMMAND(
   DEPENDS
     ${DEAL_II_STEPS}
     ${DEAL_II_STEPS_BUILDSON}
+    ${DEAL_II_STEPS_KIND}
+    ${DEAL_II_STEPS_TOOLTIP}
     ${CMAKE_CURRENT_SOURCE_DIR}/tutorial.h.in
   )
+ADD_CUSTOM_TARGET(build_tutorial_h
+  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/tutorial.h)
+ADD_DEPENDENCIES(tutorial build_tutorial_h)
 
-#
-# A target for the preparation of all the stuff happening in here...
-#
-
-ADD_CUSTOM_TARGET(tutorial
-  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/tutorial.h
-  )
 
 #
 # Prepare the steps for documentation generation

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.