From: Peter Bergin <peter@berginkonsult.se>
To: linux-trace-devel@vger.kernel.org
Cc: Peter Bergin <peter@berginkonsult.se>
Subject: [PATCH] libtraceevent: make it possible to set libdir and mandir from outside
Date: Mon, 31 Oct 2022 22:21:40 +0100 [thread overview]
Message-ID: <20221031212140.170601-1-peter@berginkonsult.se> (raw)
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
next reply other threads:[~2022-10-31 21:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-31 21:21 Peter Bergin [this message]
2022-11-01 11:15 ` [PATCH] libtraceevent: make it possible to set libdir and mandir from outside Peter Bergin
2022-11-10 0:43 ` Steven Rostedt
2022-11-10 1:08 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221031212140.170601-1-peter@berginkonsult.se \
--to=peter@berginkonsult.se \
--cc=linux-trace-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.