Skip to content

Commit

Permalink
doc: Fix missing man pages in reference manual PDF generated by MSYS2
Browse files Browse the repository at this point in the history
Script "ref_ptx.sh" could not be executed, but no error message
appeared. The build finished successfully, but the generated
"ref-parts.so" was empty so the man pages were missing from PDF.

Regression introduced in commit ecdf4df ("doc: Do not copy scripts to
build directory", 2022-11-04), which accidentally removed the use of
"sh" for script invocation of ref_ptx.sh only.
  • Loading branch information
marcows committed Nov 7, 2022
1 parent f2b8ab7 commit 637cdf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ add_custom_target(web-site ALL DEPENDS ${WEB_PAGE_OUTPUTS})
# Reference Manual Components
set(REF_PARTS ${CMAKE_CURRENT_BINARY_DIR}/etc/ref-parts.so)
add_custom_command(OUTPUT ${REF_PARTS}
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/script/ref-ptx.sh ${MAN_PAGES} > ${REF_PARTS}
COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/script/ref-ptx.sh ${MAN_PAGES} > ${REF_PARTS}
DEPENDS
${MAN_PAGES}
${CMAKE_CURRENT_SOURCE_DIR}/script/ref-ptx.sh
Expand Down

0 comments on commit 637cdf3

Please sign in to comment.