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

Install man pages from tar ball The generated man pages are already present in the tar ball. Simply install those then, even if Asciidoctor is not present. Optimize CMake files. Closes #620 Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
16 lines
422 B
CMake
16 lines
422 B
CMake
cmake_minimum_required (VERSION 3.10)
|
|
|
|
message ("-- Configuring documentation")
|
|
|
|
add_subdirectory (holidays)
|
|
add_subdirectory (themes)
|
|
|
|
if (ASCIIDOCTOR_FOUND)
|
|
set (ASCIIDOCTOR_OPTIONS "--attribute=manmanual=User Manuals"
|
|
"--attribute=mansource=timew ${PROJECT_VERSION}")
|
|
endif (ASCIIDOCTOR_FOUND)
|
|
|
|
add_subdirectory (man1)
|
|
add_subdirectory (man7)
|
|
|
|
add_custom_target (doc ALL DEPENDS man1 man7)
|