]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation of documentation. 3695/head
authorDavid Wells <wellsd2@rpi.edu>
Thu, 22 Dec 2016 18:15:47 +0000 (13:15 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 22 Dec 2016 18:15:47 +0000 (13:15 -0500)
Since c60382365dc removed changes.h, we should also update our CMake scripts to
not look for build rules that use this (nonexistant) file.

doc/CMakeLists.txt
doc/doxygen/CMakeLists.txt

index 7cc17a02a6457988d54a8f3f3a9f180303774687..5919116ed65db326fbc08fba6ef9323289246aaf 100644 (file)
@@ -68,7 +68,6 @@ INSTALL(FILES
 
 FILE(GLOB _misc
   ${CMAKE_CURRENT_SOURCE_DIR}/doxygen/headers/*.h
-  ${CMAKE_CURRENT_SOURCE_DIR}/news/changes.h
   )
 
 ADD_LIBRARY(doxygen_headers OBJECT ${_misc})
index 5abb41561653ee2da9ca57b02f9161bf5b8a1138..8d29bce72826e36501217a54fdecba12987bffa2 100644 (file)
@@ -158,11 +158,13 @@ file(GLOB _doxygen_depend
 # are captured via a GLOB since they may not exist (and so not
 # be captured via the GLOB) at the time cmake runs
 LIST(APPEND _doxygen_depend
-  ${CMAKE_BINARY_DIR}/doc/news/changes.h
   ${CMAKE_BINARY_DIR}/include/deal.II/base/config.h
   ${CMAKE_CURRENT_BINARY_DIR}/tutorial/tutorial.h
   )
 
+# Add the changelog (a CMake custom target) as a dependency for doxygen too
+LIST(APPEND _doxygen_depend changelog)
+
 # find all tutorial programs so we can add dependencies as appropriate
 FILE(GLOB _deal_ii_steps
   ${CMAKE_SOURCE_DIR}/examples/step-*

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.