2 Commits

Author SHA1 Message Date
e68db8a433 Add man page to AUR build 2025-08-05 23:34:07 +02:00
4b9e2aa96a Make man page optional 2025-08-05 23:32:35 +02:00
3 changed files with 4 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ build () {
cd "$srcdir/$pkgname-git/build"
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j12
make man-page
}
prepare () {

View File

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

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}
)