]> Nishi Git Mirror - sp.git/commitdiff
.
author諏訪子 <suwako@076.moe>
Wed, 9 Oct 2024 05:57:19 +0000 (14:57 +0900)
committer諏訪子 <suwako@076.moe>
Wed, 9 Oct 2024 05:57:19 +0000 (14:57 +0900)
Makefile

index 4e0f69cb91fc8365194bf2bf6fc755224f87ca6e..7490165636f51aff51685b3e70893392db98109b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -105,12 +105,11 @@ install:
 
 install-zsh:
        mkdir -p ${DESTDIR}${DATAPREFIX}/zsh/site-functions
-       cp sp-completion.zsh ${DESTDIR}${DATAPREFIX}/zsh/site-functions/_sp
-
+       cp ${NAME}-completion.zsh ${DESTDIR}${DATAPREFIX}/zsh/site-functions/_${NAME}
 uninstall:
        rm -rf ${DESTDIR}${PREFIX}/bin/${NAME}
        rm -rf ${DESTDIR}${MANPREFIX}/man1/${NAME}-en.1
        rm -rf ${DESTDIR}${MANPREFIX}/man1/${NAME}-jp.1
-       rm -rf ${DESTDIR}${DATAPREFIX}/zsh/site-functions/_sp
+       rm -rf ${DESTDIR}${DATAPREFIX}/zsh/site-functions/_${NAME}
 
 .PHONY: all clean dist man release install install-zsh uninstall