libtraceevent: add option to disable documentation
PATCH 1/1 libtraceevent: add option to disable documentation
--- meson.build | 3 +++ meson_options.txt | 2 ++ 2 files changed, 5 insertions(+)
meson.build +3 -0
@@ -45,6 +45,8 @@ if cunit_dep.found() subdir('utest') endif subdir('samples') + +if get_option('doc') subdir('Documentation') custom_target(
@@ -52,3 +54,4 @@ custom_target( output: 'docs', depends: [html, man], command: ['echo']) +endif
meson_options.txt +2 -0
@@ -16,3 +16,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:13:39 +0200
Giulio Benetti <[email protected]> wrote:
Hi Giulio,
Thanks for the patch, but could you please add a change log to explain why this patch is needed? I'm not saying it isn't but I'd like to know the rational for disabling documentation.
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@@ -45,6 +45,8 @@ if cunit_dep.found() subdir('utest') endif subdir('samples') + +if get_option('doc') subdir('Documentation') custom_target(@@ -52,3 +54,4 @@ custom_target( output: 'docs', depends: [html, man], command: ['echo']) +endifmeson_options.txt +2
-0@@ -16,3 +16,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')
Hi Steve,
Quoted 8 lines · Steven Rostedt
On Sat, 30 Sep 2023 22:13:39 +0200
Giulio Benetti <[email protected]> wrote:Hi Giulio,
Thanks for the patch, but could you please add a change log to explain why this patch is needed? I'm not saying it isn't but I'd like to know the rational for disabling documentation.
Sure, same for libtracefs then.
Would it be possible to release a minor version after committing? This is because I've updated libtraceevent, libtracefs and trace-cmd in buildroot but without using meson due to asciidoc not found(in Buildroot we never produce documentation for target).
So if you could release new versions of libtraceevent and libtracefs after committing V2 patches I could bump in Buildroot and use meson that is very clean compared to the actual Makefile custom build calls.
Going to send V2 patches in the meanwhile.
Best regards
Signature · 2 lines
Giulio Benetti CEO&CTO@Benetti Engineering sas
Quoted 40 lines
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@@ -45,6 +45,8 @@ if cunit_dep.found() subdir('utest') endif subdir('samples') + +if get_option('doc') subdir('Documentation') custom_target(@@ -52,3 +54,4 @@ custom_target( output: 'docs', depends: [html, man], command: ['echo']) +endifmeson_options.txt +2
-0@@ -16,3 +16,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')
Quoted 12 lines · On Sat, 30 Sep 2023 22:32:52 +0200 Giulio Benetti…
Hi Steve,
Quoted 8 lines · Steven Rostedt
On Sat, 30 Sep 2023 22:13:39 +0200
Giulio Benetti <[email protected]> wrote:Hi Giulio,
Thanks for the patch, but could you please add a change log to explain why this patch is needed? I'm not saying it isn't but I'd like to know the rational for disabling documentation.
Quoted 6 lines
Sure, same for libtracefs then.
Would it be possible to release a minor version after committing? This is because I've updated libtraceevent, libtracefs and trace-cmd in buildroot but without using meson due to asciidoc not found(in Buildroot we never produce documentation for target).
Sure, it's time for me to start working on the user space libraries again anyway (I toggle my time between the kernel and user space tracing).
Quoted 8 lines
So if you could release new versions of libtraceevent and libtracefs after committing V2 patches I could bump in Buildroot and use meson that is very clean compared to the actual
Makefilecustom build calls.Going to send V2 patches in the meanwhile.
Best regards
Appreciated!
-- Steve
Quoted 17 lines · Steven Rostedt
Quoted 14 lines · On Sat, 30 Sep 2023 22:32:52 +0200 Giulio Benetti…
Hi Steve,
Quoted 8 lines · Steven Rostedt
On Sat, 30 Sep 2023 22:13:39 +0200
Giulio Benetti <[email protected]> wrote:Hi Giulio,
Thanks for the patch, but could you please add a change log to explain why this patch is needed? I'm not saying it isn't but I'd like to know the rational for disabling documentation.
Sure, same for libtracefs then.
Quoted 8 lines
Quoted 4 lines
Would it be possible to release a minor version after committing? This is because I've updated libtraceevent, libtracefs and trace-cmd in buildroot but without using meson due to asciidoc not found(in Buildroot we never produce documentation for target).
Sure, it's time for me to start working on the user space libraries again anyway (I toggle my time between the kernel and user space tracing).
Awesome!
Quoted 5 lines
Quoted 5 lines
So if you could release new versions of libtraceevent and libtracefs after committing V2 patches I could bump in Buildroot and use meson that is very clean compared to the actual
Makefilecustom build calls.
Quoted 7 lines
Quoted 3 lines
Going to send V2 patches in the meanwhile.
Best regards
Appreciated!
-- Steve
Kind regards
Signature · 2 lines
Giulio Benetti CEO&CTO@Benetti Engineering sas