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
This commit is contained in:
||= nil
2023-04-17 13:32:42 +02:00
committed by parazyd
parent e13e5b2d8d
commit 7f63ea31ff

View File

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