Skip to content

Commit

Permalink
[CMake] Create dir for pandoc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmf01 authored Sep 22, 2022
1 parent 8e50d89 commit a076395
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a076395

Please sign in to comment.