build: customizable install prefix

This commit is contained in:
scarf 2025-09-11 01:28:55 +09:00
parent b18776626f
commit 350a1d6428
No known key found for this signature in database
GPG key ID: 07CA0A3CCA037E7D

View file

@ -74,7 +74,7 @@ endif
## Install/uninstall tasks are here for use on *nix platform. On Windows, there is no equivalent.
DESTDIR :=
prefix := /usr/local
prefix ?= /usr/local
bindir := ${prefix}/bin
datadir := ${prefix}/share
mandir := ${datadir}/man