Build: Out of source build improvements for holidays, themes

- Using a separate build directory currently fails during make install
  because none of the files under doc/holidays or doc/themes are being
  by cmake into the build dir.  Add CMakeLists.txt files for both
  doc/holidays and doc/themes, and add the corresponding add_subdirectory
  directives to doc/CMakeLists.txt, to ensure these files are always
  copied into the build directory and installed correctly.
This commit is contained in:
Kent R. Spillner 2016-06-28 17:45:03 -04:00 committed by Paul Beckingham
parent 9cf5c2d05f
commit 5bb6a0ebff
3 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,7 @@
cmake_minimum_required (VERSION 2.8)
message ("-- Configuring holiday documentation")
install (FILES README DESTINATION ${TIMEW_DOCDIR}/doc/holidays)
install (FILES holidays.en-US DESTINATION ${TIMEW_DOCDIR}/doc/holidays)
install (FILES refresh DESTINATION ${TIMEW_DOCDIR}/doc/holidays)