From 38160d1ab4ded4f048ead6af9a3bc981948a9917 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 22 Dec 2016 13:15:47 -0500 Subject: [PATCH] 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. --- doc/CMakeLists.txt | 1 - doc/doxygen/CMakeLists.txt | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) 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-* -- 2.39.5