Skip to content

Commit faddef0

Browse files
committed
doc: install csexec(1) man page only if csexec is installed
1 parent e549496 commit faddef0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ endmacro()
3030
# build and install man pages (if asciidoc is available)
3131
find_program(A2X a2x)
3232
if(A2X)
33-
add_man_page(csexec)
33+
if(TARGET csexec)
34+
add_man_page(csexec)
35+
endif()
3436
add_man_page(cswrap)
3537
add_custom_target(doc ALL DEPENDS ${man_pages})
3638
endif()

0 commit comments

Comments
 (0)