2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-22 13:33:23 +00:00

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
This commit is contained in:
TorchedSammy 2022-12-10 17:32:26 -04:00
parent 5441c17c59
commit a9e324faa9
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

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'