Re: [OE-core] [PATCH] lttng-tools: enable manpages option for configure

2019-08-09 Thread Alexander Kanavin
You do not need to. The recipe is already inheriting 'manpages' class which
does the right thing.

You only need to enable 'api-documentation' in your distro config or local
config.

Alex

On Fri, 9 Aug 2019 at 10:42, Hongzhi, Song 
wrote:

> Hi Alex,
>
> Sorry, I will send v2 using 'api-documentation' .
>
>
> --Hongzhi
>
>
>
> On 8/9/19 4:32 PM, Alexander Kanavin wrote:
> > On Fri, 9 Aug 2019 at 08:49, Hongzhi.Song  > > wrote:
> >
> > If disable this option, production will prompt "No manual entry for
> > lttng-help" when execute "lttng --help" series commands.
> >
> > Enable the option will make lttng-tools compile manpages and then
> > package them into lttng-tools-doc/.
> >
> >
> > Enabling manpages is generally subject to 'api-documentation'
> > DISTRO_CONFIG option. Why make an exception here?
> >
> > Alex
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] lttng-tools: enable manpages option for configure

2019-08-09 Thread Hongzhi, Song

Hi Alex,

Sorry, I will send v2 using 'api-documentation' .


--Hongzhi



On 8/9/19 4:32 PM, Alexander Kanavin wrote:
On Fri, 9 Aug 2019 at 08:49, Hongzhi.Song > wrote:


If disable this option, production will prompt "No manual entry for
lttng-help" when execute "lttng --help" series commands.

Enable the option will make lttng-tools compile manpages and then
package them into lttng-tools-doc/.


Enabling manpages is generally subject to 'api-documentation' 
DISTRO_CONFIG option. Why make an exception here?


Alex

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] lttng-tools: enable manpages option for configure

2019-08-09 Thread Alexander Kanavin
On Fri, 9 Aug 2019 at 08:49, Hongzhi.Song 
wrote:

> If disable this option, production will prompt "No manual entry for
> lttng-help" when execute "lttng --help" series commands.
>
> Enable the option will make lttng-tools compile manpages and then
> package them into lttng-tools-doc/.
>

Enabling manpages is generally subject to 'api-documentation' DISTRO_CONFIG
option. Why make an exception here?

Alex
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] lttng-tools: enable manpages option for configure

2019-08-08 Thread Hongzhi.Song
If disable this option, production will prompt "No manual entry for
lttng-help" when execute "lttng --help" series commands.

Enable the option will make lttng-tools compile manpages and then
package them into lttng-tools-doc/.

Signed-off-by: Hongzhi.Song 
---
 meta/recipes-kernel/lttng/lttng-tools_2.10.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.10.7.bb 
b/meta/recipes-kernel/lttng/lttng-tools_2.10.7.bb
index aa6d19d..9270916 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.10.7.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.10.7.bb
@@ -21,7 +21,7 @@ PYTHON_OPTION = 
"am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \
  am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \
  
PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \
 "
-PACKAGECONFIG ??= "lttng-ust"
+PACKAGECONFIG ??= "lttng-ust manpages"
 PACKAGECONFIG[python] = "--enable-python-bindings ${PYTHON_OPTION},,python3 
swig-native"
 PACKAGECONFIG[lttng-ust] = "--with-lttng-ust, --without-lttng-ust, lttng-ust"
 PACKAGECONFIG[kmod] = "--with-kmod, --without-kmod, kmod"
-- 
2.8.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core