aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-10-20 09:32:37 -0700
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-10-20 19:29:08 +0000
commit44bd3a7d7923030be65bb5089c2cfdd1ab2290f1 (patch)
tree329381d0d6c94f734a85207c6a6339d703686fe1 /cmake/modules
parentda1d1c30f4b2446af07e265b2746aa3e14854948 (diff)
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.
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindAsciidoctor.cmake10
1 files changed, 0 insertions, 10 deletions
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)