Skip to content

Commit

Permalink
doc: install csexec(1) man page only if csexec is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudka committed Aug 31, 2021
1 parent e549496 commit faddef0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ endmacro()
# build and install man pages (if asciidoc is available)
find_program(A2X a2x)
if(A2X)
add_man_page(csexec)
if(TARGET csexec)
add_man_page(csexec)
endif()
add_man_page(cswrap)
add_custom_target(doc ALL DEPENDS ${man_pages})
endif()

0 comments on commit faddef0

Please sign in to comment.