diff options
author | Cameron Katri <me@cameronkatri.com> | 2022-06-01 10:17:26 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2022-06-01 10:17:26 -0400 |
commit | 59b06ee63aa566ae7a3c4f6ca90e27e19d6d7226 (patch) | |
tree | 373ea7674960a0e8c7f37781a852ba16449906f3 | |
parent | ca03488b6ff9c530e65c2ded169cb45383fa221f (diff) | |
download | trustcache-59b06ee63aa566ae7a3c4f6ca90e27e19d6d7226.tar.gz trustcache-59b06ee63aa566ae7a3c4f6ca90e27e19d6d7226.tar.zst trustcache-59b06ee63aa566ae7a3c4f6ca90e27e19d6d7226.zip |
Add DESTDIR support
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,9 +4,10 @@ OBJS += machoparse/cdhash.o cache_from_tree.o sort.o OBJS += uuid/gen_uuid.o uuid/pack.o uuid/unpack.o uuid/parse.o uuid/unparse.o uuid/copy.o OBJS += compat_strtonum.o -PREFIX ?= ~/.local -BINDIR ?= $(PREFIX)/bin -MANDIR ?= $(PREFIX)/share/man +DESTDIR ?= +PREFIX ?= ~/.local +BINDIR ?= $(DESTDIR)$(PREFIX)/bin +MANDIR ?= $(DESTDIR)$(PREFIX)/share/man ifeq ($(shell uname -s),Darwin) COMMONCRYPTO ?= 1 |