summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStanko K.R <me@stanko.io>2019-05-04 22:47:01 +0200
committerStanko K.R <me@stanko.io>2019-05-04 22:47:01 +0200
commit2b2f17f3109923ab5179e613f3cd74254b9d0e80 (patch)
treeacc41c610827c277fdbd72a017846fda7a19ba43 /Makefile
parentc991d448786d9f3fbea142d55473608797e95cdd (diff)
Prefix binary path correctly on MacOS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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: