From 44bd3a7d7923030be65bb5089c2cfdd1ab2290f1 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 20 Oct 2021 09:32:37 -0700 Subject: CMake+Docs: Update our man page targets. Remove the generate_*_pages targets that were recently introduced, since they're not really needed. Only add the "manpages" target if we have Asciidoctor. --- cmake/modules/FindAsciidoctor.cmake | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cmake/modules') diff --git a/cmake/modules/FindAsciidoctor.cmake b/cmake/modules/FindAsciidoctor.cmake index 69150a1f32..20fe94caa3 100644 --- a/cmake/modules/FindAsciidoctor.cmake +++ b/cmake/modules/FindAsciidoctor.cmake @@ -36,12 +36,6 @@ if(ASCIIDOCTOR_EXECUTABLE) ) endfunction(set_asciidoctor_target_properties) - function(set_manpage_target_properties _target) - set_target_properties(${_target} PROPERTIES - FOLDER "Docs" - ) - endfunction(set_manpage_target_properties) - set (_asciidoctor_common_args # Doesn't work with AsciidoctorJ? # --failure-level=WARN @@ -158,8 +152,6 @@ if(ASCIIDOCTOR_EXECUTABLE) DEPENDS ${_input_adoc} ) - add_custom_target(generate_roff_man${_man_section}_pages DEPENDS ${_output_man}) - set_manpage_target_properties(generate_roff_man${_man_section}_pages) unset(_src_file) unset(_input_adoc) unset(_output_man) @@ -185,8 +177,6 @@ if(ASCIIDOCTOR_EXECUTABLE) DEPENDS ${_input_adoc} ) - add_custom_target(generate_html_man_pages DEPENDS ${_output_man}) - set_manpage_target_properties(generate_html_man_pages) unset(_src_file) unset(_input_adoc) unset(_output_man) -- cgit v1.2.3