From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC86A156D8 for ; Sat, 30 Sep 2023 20:28:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A9EFC433B6; Sat, 30 Sep 2023 20:28:37 +0000 (UTC) Date: Sat, 30 Sep 2023 16:28:25 -0400 From: Steven Rostedt To: Giulio Benetti Cc: linux-trace-devel@vger.kernel.org Subject: Re: [PATCH] libtraceevent: add option to disable documentation Message-ID: <20230930162825.4f8544c3@rorschach.local.home> In-Reply-To: <20230930201339.2525344-1-giulio.benetti@benettiengineering.com> References: <20230930201339.2525344-1-giulio.benetti@benettiengineering.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-trace-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 30 Sep 2023 22:13:39 +0200 Giulio Benetti 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 > Signed-off-by: Giulio Benetti > --- > meson.build | 3 +++ > meson_options.txt | 2 ++ > 2 files changed, 5 insertions(+) > > diff --git a/meson.build b/meson.build > index b61c873..9a18e02 100644 > --- a/meson.build > +++ b/meson.build > @@ -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 > diff --git a/meson_options.txt b/meson_options.txt > index b2294f6..9a40dad 100644 > --- a/meson_options.txt > +++ b/meson_options.txt > @@ -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')