summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-05-04 17:33:44 -0400
committerGitHub <noreply@github.com>2019-05-04 17:33:44 -0400
commit0cbe5f93172720297857800d7b4594137c48dc8a (patch)
tree30037d7be29f1e945ab77a39dbad88929509d806 /Makefile
parentc991d448786d9f3fbea142d55473608797e95cdd (diff)
parent41c5040b6adfaa0eb33337dfe22fa6ec2503797f (diff)
Merge pull request #193 from monorkin/feature/macos-bsd-compatibility
MacOS compatibility
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: