From 000e1114069544084da4571c83e83e396838b809 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Fri, 1 Dec 2023 12:41:36 +0900 Subject: [PATCH] =?utf8?q?make=20install-zsh=E9=83=A8=E5=88=86=E3=82=92?= =?utf8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ Makefile | 4 ++-- README.md | 4 ++++ main.c | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) 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"); -- 2.43.0