From 9fd750a99b27a2e55120226a353806d4a93a1ccb Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 23 Sep 2023 04:10:37 +0400 Subject: [PATCH] In Makefile made use of PREFIX var. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7ec109c..f68e7a8 100755 --- a/Makefile +++ b/Makefile @@ -24,11 +24,11 @@ run: bin/${TARGET} -l 127.0.0.1:18123 -db . -ce 10m -gbo Arav -gbp 10 install: - install -Dm 0755 bin/${TARGET} ${DESTDIR}usr/bin/${TARGET} + install -Dm 0755 bin/${TARGET} ${DESTDIR}${PREFIX}/bin/${TARGET} install -Dm 0644 init/systemd.service ${DESTDIR}${SYSDDIR}/${TARGET}.service uninstall: - rm ${DESTDIR}usr/bin/${TARGET} + rm ${DESTDIR}${PREFIX}/bin/${TARGET} rm ${DESTDIR}${SYSDDIR}/${TARGET}.service clean: