From: Richard Hartmann Date: Mon, 25 Aug 2014 15:45:12 +0000 (+0200) Subject: Makefile: Allow `PREFIX=foo make install` X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/1e02192f91f833cd829710f40b2b2870903f9e1f?ds=inline;hp=ff1bb4c698df9e4fdfda4a08fac99d596a0c2911 Makefile: Allow `PREFIX=foo make install` --- diff --git a/Makefile b/Makefile index 4ae8d88..9e3d5a2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX=/usr +PREFIX?=/usr DOCDIR_PREFIX=$(PREFIX)/share/doc DOCDIR=$(DOCDIR_PREFIX)/$(self) ZSHDIR=$(PREFIX)/share/zsh/vendor-completions