Make man page optional

This commit is contained in:
2025-08-05 23:32:35 +02:00
parent b726d5ba75
commit 4b9e2aa96a
2 changed files with 3 additions and 2 deletions

View File

@@ -42,6 +42,8 @@ add_custom_target(
${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generating version header"
)
add_subdirectory(man)
add_custom_target(schema-header DEPENDS "${GEN_HEADER_PATH}/schema-blob.h")

View File

@@ -1,7 +1,6 @@
set (MAN_PAGE_NAME "patchelfcrc.1.gz")
add_custom_target(man-page
ALL
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${MAN_PAGE_NAME}
)