]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - Makefile
cosmetic refactoring of Makefile
[bcachefs-tools-debian] / 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))