Re: [oe] [meta-oe][PATCH] websocketpp: also install examples in a new -examples subpackage

2020-01-10 Thread Khem Raj
On Fri, Jan 10, 2020 at 9:38 PM Khem Raj wrote: > > On Fri, Jan 10, 2020 at 6:20 AM Mittal, Anuj wrote: > > > > On Fri, 2020-01-10 at 11:04 +0100, Gianfranco Costamagna wrote: > > > +do_install_append() { > > > + install -d ${D}${docdir}/${PN} > > > + cp -R ${S}/examples ${D}${docdir}/${P

Re: [oe] [meta-oe][PATCH] websocketpp: also install examples in a new -examples subpackage

2020-01-10 Thread Khem Raj
On Fri, Jan 10, 2020 at 6:20 AM Mittal, Anuj wrote: > > On Fri, 2020-01-10 at 11:04 +0100, Gianfranco Costamagna wrote: > > +do_install_append() { > > + install -d ${D}${docdir}/${PN} > > + cp -R ${S}/examples ${D}${docdir}/${PN} > > I think these should be BPN instead of PN so this works

[oe] [meta-oe][PATCH] websocketpp: also install examples in a new -examples subpackage

2020-01-10 Thread Gianfranco Costamagna
Thanks to Khem Raj for the suggestion, the location is similar to the one used by Debian packaging Signed-off-by: Gianfranco Costamagna Signed-off-by: Gianfranco Costamagna --- meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb | 9 + 1 file changed, 9 insertions(+) diff --git a

Re: [oe] [meta-oe][PATCH] websocketpp: also install examples in a new -examples subpackage

2020-01-10 Thread Mittal, Anuj
On Fri, 2020-01-10 at 11:04 +0100, Gianfranco Costamagna wrote: > +do_install_append() { > + install -d ${D}${docdir}/${PN} > + cp -R ${S}/examples ${D}${docdir}/${PN} I think these should be BPN instead of PN so this works with multilib. Thanks, Anuj --

[oe] [meta-oe][PATCH] websocketpp: also install examples in a new -examples subpackage

2020-01-10 Thread Gianfranco Costamagna
Thanks to Khem Raj for the suggestion, the location is similar to the one used by Debian packaging Signed-off-by: Gianfranco Costamagna Signed-off-by: Gianfranco Costamagna --- meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb | 9 + 1 file changed, 9 insertions(+) diff --git a