From: David Wells Date: Thu, 22 Dec 2016 18:15:47 +0000 (-0500) Subject: Fix compilation of documentation. X-Git-Tag: v8.5.0-rc1~318^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3695%2Fhead;p=dealii.git Fix compilation of documentation. Since c60382365dc removed changes.h, we should also update our CMake scripts to not look for build rules that use this (nonexistant) file. --- diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 7cc17a02a6..5919116ed6 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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}) diff --git a/doc/doxygen/CMakeLists.txt b/doc/doxygen/CMakeLists.txt index 5abb415616..8d29bce728 100644 --- a/doc/doxygen/CMakeLists.txt +++ b/doc/doxygen/CMakeLists.txt @@ -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-*