summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2022-09-22 06:46:03 +0200
committerGitHub <noreply@github.com>2022-09-22 06:46:03 +0200
commita076395de07ba9299198ca60d565b880b71fd89b (patch)
tree188efbf67589d0bc9350c4684aaf927f82440abd
parent8e50d89a4044c9b6b07bd875a9edfcdd23846c72 (diff)
downloadflac-a076395de07ba9299198ca60d565b880b71fd89b.tar.gz
[CMake] Create dir for pandoc generation
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 239c7a7b..cdfcfecd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -265,6 +265,7 @@ install(FILES ${FLAC++_HEADERS} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/FLAC++"
if(INSTALL_MANPAGES)
find_program (HAVE_PANDOC pandoc)
if(HAVE_PANDOC)
+ file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/man")
add_custom_command(
OUTPUT man/flac.1
COMMAND pandoc --standalone --to man "${CMAKE_SOURCE_DIR}/man/flac.md" > man/flac.1