1
0
mirror of https://github.com/Zygo/bees.git synced 2025-07-06 10:32:25 +02:00
Files
bees/Defines.mk
Kyle Gospodnetich f9f3913c8b 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.
2025-07-04 19:44:35 -04:00

11 lines
304 B
Makefile

MAKE += PREFIX=$(PREFIX) LIBEXEC_PREFIX=$(LIBEXEC_PREFIX) ETC_PREFIX=$(ETC_PREFIX)
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