From 5ee962f89ba8566600786c5badac040b5313ce53 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 27 Feb 2024 23:43:33 -0800 Subject: [PATCH] Use `/usr` instead of `$(PREFIX)` for systemd system directory This is more likely to match user systems. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0e98a6b..808b8cd 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ PREFIX?=/usr/local CONFIG_DIR?=/etc/keyd SOCKET_PATH=/var/run/keyd.socket -SYSTEMD_SYSTEM_DIR = $(PREFIX)/lib/systemd/system +SYSTEMD_SYSTEM_DIR = /usr/lib/systemd/system CFLAGS:=-DVERSION=\"v$(VERSION)\ \($(COMMIT)\)\" \ -I/usr/local/include \