From 410344b8dbc64bada45be2c3ad78ab5e3ba1c0a1 Mon Sep 17 00:00:00 2001 From: Manuel Date: Sat, 1 Feb 2025 20:50:33 +0100 Subject: [PATCH] Makefile: Add support for installation to custom $LIBEXECDIR --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a3819d3..00fd0c8 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,7 @@ export PREFIX = /usr export BINDIR = $(PREFIX)/bin export SBINDIR = $(PREFIX)/sbin export SYSCONFDIR = /etc +export LIBEXECDIR = $(PREFIX)/libexec export DATADIR = $(PREFIX)/share export DOCDIR = $(DATADIR)/doc/$(NAME) export PYTHON = $(BINDIR)/python3 @@ -236,7 +237,7 @@ install: install-dirs # libexec scripts $(foreach file, $(wildcard libexec/*), \ $(call install_python_script, \ - $(file), $(DESTDIR)$(PREFIX)/libexec/tuned/$(notdir $(file)))) + $(file), $(DESTDIR)$(LIBEXECDIR)/tuned/$(notdir $(file)))) # icon install -Dpm 0644 icons/tuned.svg $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps/tuned.svg