All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libtraceevent: make it possible to set libdir and mandir from outside
@ 2022-10-31 21:21 Peter Bergin
  2022-11-01 11:15 ` Peter Bergin
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Bergin @ 2022-10-31 21:21 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: 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 <peter@berginkonsult.se>
---
 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 ":" " "))
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-10  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-31 21:21 [PATCH] libtraceevent: make it possible to set libdir and mandir from outside Peter Bergin
2022-11-01 11:15 ` Peter Bergin
2022-11-10  0:43   ` Steven Rostedt
2022-11-10  1:08     ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.