From 831a4c244495623ee2f1bdac801a761cbc8a66f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Fri, 5 Jul 2024 15:13:57 +0900 Subject: [PATCH] =?utf8?q?=E9=81=95=E3=81=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1ae0969..0e85ce5 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ VERSION != cat main.c | grep "const char \*version" | awk '{print $$5}' | \ sed "s/\"//g" | sed "s/;//" PREFIX = /usr/local .if ${UNAME_S} == "Haiku" -PREFIX = /boot/system +PREFIX = /boot/home/config/non-packaged .elif ${UNAME_S} == "Linux" PREFIX = /usr .endif @@ -75,7 +75,7 @@ release-linux: strip release/bin/${NAME}-${VERSION}-linux-${UNAME_M} install: - mkdir -p ${DESTDIR}${PREFIX}/bin + mkdir -p ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANPREFIX}/man1 cp -f ${NAME} ${DESTDIR}${PREFIX}/bin chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME} mkdir -p ${DESTDIR}${MANPREFIX}/man1 @@ -87,6 +87,7 @@ install: chmod 644 ${DESTDIR}${MANPREFIX}/man1/${NAME}-jp.1 install-zsh: + mkdir -p ${DESTDIR}${DATAPREFIX}/zsh/site-functions cp sp-completion.zsh ${DESTDIR}${DATAPREFIX}/zsh/site-functions/_sp uninstall: -- 2.43.0