Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
7f63ea31ff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

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