1
0
mirror of https://github.com/Zygo/bees.git synced 2025-07-07 02:42:27 +02:00

Add configurable bindir for distros without sbin

Adds a `BINDIR` Make variable, defaulting to `sbin`, allowing packagers
to override the install location of `beesd` for systems that do not use
`/sbin`.  This affects the install path and systemd unit template.
This commit is contained in:
Kyle Gospodnetich
2025-04-17 17:52:33 -07:00
committed by Zygo Blaxell
parent ee5c971d77
commit f9f3913c8b
3 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@ define TEMPLATE_COMPILER =
sed $< >$@ \
-e's#@DESTDIR@#$(DESTDIR)#' \
-e's#@PREFIX@#$(PREFIX)#' \
-e's#@BINDIR@#$(BINDIR)#' \
-e's#@ETC_PREFIX@#$(ETC_PREFIX)#' \
-e's#@LIBEXEC_PREFIX@#$(LIBEXEC_PREFIX)#'
endef