summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
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 ()