Browse Source

build: use cargo home as install prefix

this avoids requiring escalated system privileges to install the binaries.

ref: https://doc.rust-lang.org/cargo/guide/cargo-home.html
||= nil 3 years ago
parent
commit
7f63ea31ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -1,7 +1,7 @@
 .POSIX:
 
 # Install prefix
-PREFIX = /usr/local
+PREFIX = $(HOME)/.cargo
 
 # Cargo binary
 CARGO = cargo