summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: