From 2b2f17f3109923ab5179e613f3cd74254b9d0e80 Mon Sep 17 00:00:00 2001 From: "Stanko K.R" Date: Sat, 4 May 2019 22:47:01 +0200 Subject: Prefix binary path correctly on MacOS --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e4a1440..1b17344 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ .POSIX: -PREFIX = /usr +OS = $(shell uname -s) +ifeq ($(OS), Darwin) + PREFIX = /usr/local +else + PREFIX = /usr +endif MANPREFIX = $(PREFIX)/share/man install: -- cgit v1.2.3