summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrederik Schwan <frederik.schwan@linux.com>2024-02-03 19:21:19 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2024-02-05 20:47:54 -0500
commit1d39ee23af0daff6f0a6d616e74fec8cc9c5db54 (patch)
tree7129a01334223b76d35547d0e8df88c7831483c3 /Makefile
parentf6b619daad4e72329a52500299beac5721f6dd8f (diff)
cosmetic refactoring of Makefile
Make clear that LIBEXECDIR is an option.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 80d24ff9..5cdb437c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
VERSION=1.4.0
PREFIX?=/usr/local
+LIBEXECDIR?=$(PREFIX)/libexec
PKG_CONFIG?=pkg-config
INSTALL=install
LN=ln
@@ -105,7 +106,6 @@ else
ROOT_SBINDIR?=$(PREFIX)/sbin
INITRAMFS_DIR=/etc/initramfs-tools
endif
-LIBEXECDIR=$(PREFIX)/libexec
PKGCONFIG_SERVICEDIR:=$(shell $(PKG_CONFIG) --variable=systemdsystemunitdir systemd)
ifeq (,$(PKGCONFIG_SERVICEDIR))