]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
cosmetic refactoring of Makefile
authorFrederik Schwan <frederik.schwan@linux.com>
Sat, 3 Feb 2024 18:21:19 +0000 (19:21 +0100)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 6 Feb 2024 01:47:54 +0000 (20:47 -0500)
Make clear that LIBEXECDIR is an option.

Makefile

index 80d24ff931d1f3cd1437dfa47e1547b10565d8ea..5cdb437cc7f1e2f4dbdbccf929386707890eb183 100644 (file)
--- 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))