mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00

- 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.
10 lines
291 B
CMake
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")
|