On Tue, 1 Nov 2022 12:15:21 +0100 Peter Bergin <peter@xxxxxxxxxxxxxxxx> wrote: > On 2022-10-31 22:21, Peter Bergin wrote: > > When building in build frameworks such as openembedded it is desired > > to use the defintion of libdir and mandir from the build framework. > > > > Signed-off-by: Peter Bergin <peter@xxxxxxxxxxxxxxxx> > > --- > > Makefile | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/Makefile b/Makefile > > index fab8f7e..e974117 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -46,8 +46,8 @@ endif > > > > libdir_relative ?= $(libdir_relative_temp) > > prefix ?= /usr/local > > -libdir = $(prefix)/$(libdir_relative) > > -man_dir = $(prefix)/share/man > > +libdir ?= $(prefix)/$(libdir_relative) > > +man_dir ?= $(prefix)/share/man > > man_dir_SQ = '$(subst ','\'',$(man_dir))' > > pkgconfig_dir ?= $(word 1,$(shell $(PKG_CONFIG) \ > > --variable pc_path pkg-config | tr ":" " ")) > > This patch has been superseded by a v2 patch because I did a mistake and > wrote the wrong prefix. Reference to new patch: > https://lore.kernel.org/linux-trace-devel/20221101111143.191772-1-peter@xxxxxxxxxxxxxxxx/ This one applies to libtraceevent, I think you meant to reply to: https://lore.kernel.org/all/20221031212110.170564-1-peter@xxxxxxxxxxxxxxxx/ -- Steve