libtracefs: add option to disable documentation
PATCH 1/1 libtracefs: add option to disable documentation
Signed-off-by Giulio Benetti <[email protected]>
--- meson.build | 3 +++ meson_options.txt | 2 ++ 2 files changed, 5 insertions(+)
meson.build +3 -0
@@ -39,6 +39,8 @@ if cunit_dep.found() subdir('utest') endif subdir('samples') + +if get_option('doc') subdir('Documentation') custom_target(
@@ -46,3 +48,4 @@ custom_target( output: 'docs', depends: [html, man], command: ['echo']) +endif
meson_options.txt +2 -0
@@ -14,3 +14,5 @@ option('man-bold-literal', type : 'boolean', value : false, description : 'enable bold literals') option('docbook-suppress-sp', type : 'boolean', value : false, description : 'docbook suppress sp') +option('doc', type : 'boolean', value: true, + description : 'produce documentation')
Signature · 1 line
2.34.1
On Sat, 30 Sep 2023 22:24:13 +0200
Giulio Benetti <[email protected]> wrote:
Same here (from my reply to the libtraceevent patch).
Thanks,
-- Steve
Quoted 34 lines
Signed-off-by Giulio Benetti <[email protected]>--- meson.build | 3 +++ meson_options.txt | 2 ++ 2 files changed, 5 insertions(+)meson.build +3
-0@@ -39,6 +39,8 @@ if cunit_dep.found() subdir('utest') endif subdir('samples') + +if get_option('doc') subdir('Documentation') custom_target(@@ -46,3 +48,4 @@ custom_target( output: 'docs', depends: [html, man], command: ['echo']) +endifmeson_options.txt +2
-0@@ -14,3 +14,5 @@ option('man-bold-literal', type : 'boolean', value : false, description : 'enable bold literals') option('docbook-suppress-sp', type : 'boolean', value : false, description : 'docbook suppress sp') +option('doc', type : 'boolean', value: true, + description : 'produce documentation')