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 ":" " ")) -- 2.34.1