]> git.99rst.org Git - git.git/commitdiff
meson: generate HTML pages for all man page categories
authorPatrick Steinhardt <redacted>
Fri, 27 Dec 2024 13:59:32 +0000 (14:59 +0100)
committerJunio C Hamano <redacted>
Fri, 27 Dec 2024 16:28:10 +0000 (08:28 -0800)
When generating HTML pages for our man pages we only generate them for
category 1 in Meson, which are the pages corresponding to our built-in
commands. I cannot tell why I added this filter though: our Makefile
installs all man pages, so a Meson-based build misses out on many of
them.

Fix this by removing the filter.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/meson.build

index c2512328ca9b76a5dd512453ddbb776faea7967f..48583e9a7f4b037de218358f16f59ce08141cbe8 100644 (file)
@@ -366,7 +366,7 @@ foreach manpage, category : manpages
     )
   endif
 
-  if get_option('docs').contains('html') and category == 1
+  if get_option('docs').contains('html')
     custom_target(
       command: asciidoc_common_options + [
         '--backend=' + asciidoc_html,
git clone https://git.99rst.org/PROJECT