build!: just default to /usr/local on linux and macos

this is a common practice anyway of projects on github.
package managers will install to /usr. if the user
wants to change this anyway they can
TorchedSammy 2022-12-10 17:32:26 -04:00
parent 5441c17c59
commit a9e324faa9
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
version: '3'
vars:
PREFIX: '{{default (eq .OS "darwin" | ternary "/usr/local" "/usr") .PREFIX}}'
PREFIX: '{{default "/usr/local" .PREFIX}}'
bindir__: '{{.PREFIX}}/bin'
BINDIR: '{{default .bindir__ .BINDIR}}'
libdir__: '{{.PREFIX}}/share/hilbish'