libtraceevent: make it possible to set libdir and mandir from outside
PATCH 1/1 libtraceevent: make it possible to set libdir and mandir from outside
When building in build frameworks such as openembedded it is desired to use the defintion of libdir and mandir from the build framework.
--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
@@ -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 ":" " "))
Signature · 1 line
2.34.1
Quoted 13 lines · Peter Bergin
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 <[email protected]>--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Makefile +0
-0
Makefile endif · line 53
Quoted 10 lines
Makefile +2
-2@@ -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/[email protected]/
Best regards,
/Peter
Quoted 15 lines · On Tue, 1 Nov 2022 12:15:21 +0100 Peter Bergin <[email protected]> wrote:
Quoted 14 lines · Peter Bergin
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 <[email protected]>--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Makefile +0
-0@@ -46,8 +46,8 @@ endif
Quoted 13 lines
Makefile endif · line 53
Quoted 9 lines
Makefile +2
-2libdir_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/[email protected]/
This one applies to libtraceevent, I think you meant to reply to:
https://lore.kernel.org/all/[email protected]/
-- Steve
Quoted 7 lines · On Wed, 9 Nov 2022 19:43:10 -0500 Steven Rostedt <[email protected]> wrote:
Quoted 3 lines
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/[email protected]/This one applies to libtraceevent, I think you meant to reply to:
Anyway, I applied this to libtraceevent. Thanks!
-- Steve