~mariusor/mpris-tools

Allow setting a custom installation prefix v1 REJECTED

Rohan Kumar: 1
 Allow setting a custom installation prefix

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mariusor/mpris-tools/patches/15151/mbox | git am -3
Learn more about email & git

[PATCH] Allow setting a custom installation prefix Export this patch

Set INSTALL_PREFIX only if it hasn't already been set. This allows
changing the installation prefix without editing the Makefile, i.e. with
INSTALL_PREFIX=<prefix> make install
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 79a3521..deaa33c 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ DLINK_FLAGS =

SOURCES = src/main.c
DESTDIR = /
INSTALL_PREFIX = usr/local
INSTALL_PREFIX ?= usr/local
MAN_DIR = share/man

ifneq ($(LIBS),)
-- 
2.26.2