From fe550801d91fe110c69f351b945598c0f686217e Mon Sep 17 00:00:00 2001 From: Thadeu de Paula Date: Wed, 11 Dec 2024 08:29:27 -0300 Subject: [PATCH] Fix install on custom $PREFIX --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0c36cbfa..71121efc 100644 --- a/Makefile +++ b/Makefile @@ -226,7 +226,9 @@ docs-gen: # Install # Install paths +ifndef PREFIX PREFIX=/usr/local +endif DPREFIX=$(DESTDIR)$(PREFIX) PREFIX_BIN=$(DPREFIX)/bin PREFIX_LIB=$(DPREFIX)/lib