timewarrior/doc/CMakeLists.txt
Kent R. Spillner 5bb6a0ebff 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.
2016-06-28 17:45:03 -04:00

10 lines
291 B
CMake

cmake_minimum_required (VERSION 2.8)
message ("-- Configuring documentation")
add_subdirectory (holidays)
add_subdirectory (themes)
configure_file (man/timew.1.in man/timew.1)
install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man/ DESTINATION ${TIMEW_MAN1DIR} FILES_MATCHING PATTERN "*.1")