Skip to contentSkip to conversation

trace-cmd documentation: Remove check-manpages.sh for trace-cmd in meson build

PATCH In review Steven Rostedt 2 participants 2 messages Jul 25, 2024 – Jul 30, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cmd documentation: Remove check-manpages.sh for trace-cmd in meson build

From: "Steven Rostedt (Google)" <[email protected]>

The creation of man pages for trace-cmd ran the check-manpages.sh script, which is only used for the libtracecmd library, not the tools. This caused the build to spit out warning of grep not finding libtracecmd.txt.

Fixes 736df0648d16b ("trace-cmd: Add initial support for meson")
---
 Documentation/trace-cmd/meson.build | 9 ---------
 1 file changed, 9 deletions(-)
Documentation/trace-cmd/meson.build +0 -9
index d0cc3076d985..875d72832a0b 100644
@@ -104,13 +104,6 @@ if get_option('docbook-suppress-sp')
     xmlto_extra += ['-m ',  confdir + 'manpage-suppress-sp.xsl']
 endif
 
-check_doc = custom_target(
-    'check-doc',
-    output: 'dummy',
-    command : [
-        top_source_dir + 'check-manpages.sh',
-        meson.current_source_dir()])
-
 gen = generator(
     asciidoc,
     output: '@[email protected]',
@@ -131,7 +124,6 @@ foreach txt, section : sources
         txt.underscorify() + '_man',
         input: xml,
         output: '@BASENAME@.' + section,
-        depends: check_doc,
         command: [
             xmlto,
             '-m', manpage_xsl,
@@ -145,7 +137,6 @@ foreach txt, section : sources
         txt.underscorify() + '_html',
         input: txt,
         output: '@[email protected]',
-        depends: check_doc,
         command: [
             asciidoc,
             '-b', asciidoc_html,
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Steven Rostedt

From: "Steven Rostedt (Google)" <[email protected]>

The creation of man pages for trace-cmd ran the check-manpages.sh script, which is only used for the libtracecmd library, not the tools. This caused the build to spit out warning of grep not finding libtracecmd.txt.

Ah, okay, didn't noticed that back then.

Quoted 2 lines
Fixes 736df0648d16b ("trace-cmd: Add initial support for meson")

Anyway, looks good.