summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-30 18:16:51 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-30 18:17:23 +0200
commit807a8c37d9d3b2ab948ce9edcdd8c7f38262e2ef (patch)
treed03d6b7fee7a8b0a438ffd0ae14ca51df876db37 /CMakeLists.txt
parentc4707e2803c26885d1938d320db5b368a221ffea (diff)
downloadxK-807a8c37d9d3b2ab948ce9edcdd8c7f38262e2ef.tar.gz
xK-807a8c37d9d3b2ab948ce9edcdd8c7f38262e2ef.tar.xz
xK-807a8c37d9d3b2ab948ce9edcdd8c7f38262e2ef.zip
Bump liberty, improve fallback manual page output
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3ab3289..5e57eb3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -261,8 +261,9 @@ foreach (page xB xC xD)
else ()
set (ASCIIMAN ${PROJECT_SOURCE_DIR}/liberty/tools/asciiman.awk)
add_custom_command (OUTPUT ${page_output}
- COMMAND env LC_ALL=C awk -f ${ASCIIMAN}
- "${PROJECT_SOURCE_DIR}/${page}.adoc" > ${page_output}
+ COMMAND env LC_ALL=C asciidoc-release-version=${project_version}
+ awk -f ${ASCIIMAN} "${PROJECT_SOURCE_DIR}/${page}.adoc"
+ > ${page_output}
DEPENDS ${page}.adoc ${ASCIIMAN}
COMMENT "Generating man page for ${page}" VERBATIM)
endif ()