From: 諏訪子 Date: Fri, 5 Jul 2024 06:13:57 +0000 (+0900) Subject: 違う X-Git-Tag: sp-1.4.0~16^2 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=refs%2Fpull%2F20%2Fhead;p=sp.git 違う --- 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: