Skip to content

Commit

Permalink
No net for xsltproc with make
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Nov 19, 2023
1 parent f92316e commit 45ff076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ find_program(XSLTPROC xsltproc OPTIONAL)
if(XSLTPROC)
function(compile_manpage page)
add_custom_command(OUTPUT ${PROJECT_SOURCE_DIR}/man/${page}
COMMAND xsltproc ${PROJECT_SOURCE_DIR}/man/${page}.xml -o ${PROJECT_SOURCE_DIR}/man/
COMMAND xsltproc --nonet ${PROJECT_SOURCE_DIR}/man/${page}.xml -o ${PROJECT_SOURCE_DIR}/man/
MAIN_DEPENDENCY ${PROJECT_SOURCE_DIR}/man/${page}.xml)
add_custom_target(${page} ALL DEPENDS ${PROJECT_SOURCE_DIR}/man/${page})
endfunction()
Expand Down

0 comments on commit 45ff076

Please # to comment.