diff options
author | joevt <joevt@shaw.ca> | 2021-09-14 05:11:21 -0700 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-09-15 10:25:07 +0200 |
commit | e5dafff2ff0a994b670328fc764a47df574547f1 (patch) | |
tree | 9709f9538d472bde7eb64649e0a1345272ac1363 | |
parent | 2ec13858db485298fae83cd2fba1467fcdb1f764 (diff) |
edid-decode: change install directories for macOS
In macOS, /usr/bin and /usr/share/man belong to root:wheel so install to
/usr/local/bin and /usr/local/share/man instead.
Signed-off-by: Joe van Tunen <joevt@shaw.ca>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r-- | Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -1,5 +1,16 @@ -bindir ?= /usr/bin -mandir ?= /usr/share/man +ifeq ($(OS),Windows_NT) + bindir ?= /usr/bin + mandir ?= /usr/share/man +else + UNAME_S := $(shell uname -s) + ifeq ($(UNAME_S),Darwin) + bindir ?= /usr/local/sbin + mandir ?= /usr/local/share/man + else + bindir ?= /usr/bin + mandir ?= /usr/share/man + endif +endif EMXX ?= em++ |