Re: [PATCH] libtraceevent: make it possible to set libdir and mandir from outside

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

Best regards,
/Peter




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux