diff --git a/CHANGELOG.md b/CHANGELOG.md index 0274411..bd31986 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 1.1.1 +* make install-zsh部分を修正 + # 1.1.0 * TOTP対応 * READMEファイルで使い方を詳しく説明する diff --git a/Makefile b/Makefile index 91cdcb1..3d22c6c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NAME=sp -VERSION=1.1.0 +VERSION=1.1.1 # Linux、Haiku、かIllumos = /usr、FreeBSDかOpenBSD = /usr/local、NetBSD = /usr/pkg PREFIX=/usr CC=cc @@ -27,7 +27,7 @@ install: all chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME} install-zsh: - cp sp-completion.zsh /usr/share/zsh/site-functions/_sp + cp sp-completion.zsh ${DESTDIR}${PREFIX}/share/zsh/site-functions/_sp uninstall: rm -f ${DESTDIR}${PREFIX}/bin/${NAME} diff --git a/README.md b/README.md index d7502a2..5d9bf3c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ ```sh doas prt-get depinst gpgme gnupg pinentry doas make install +doas make install-zsh ``` 又は @@ -23,18 +24,21 @@ prt-get depinst sp ```sh doas pacman -S base-devel gpgme gnupg pinentry doas make install +doas make install-zsh ``` ### OpenBSD ```sh doas pkg_add gmake gpgme gnupg pinentry doas gmake install PREFIX=/usr/local +doas gmake install-zsh PREFIX=/usr/local ``` ### FreeBSD ```sh doas pkg install gmake gpgme gnupg pinentry doas gmake install PREFIX=/usr/local +doas gmake install-zsh PREFIX=/usr/local ``` ## 初期設定 diff --git a/main.c b/main.c index ad3e1c4..89d5e7e 100644 --- a/main.c +++ b/main.c @@ -16,7 +16,7 @@ void helpme(); const char* sofname = "sp"; -const char* version = "1.1.0"; +const char* version = "1.1.1"; void helpme() { printf("076 sp - シンプルなパスワードマネージャー\n");