make install-zsh部分を修正

このコミットが含まれているのは:
守矢諏訪子 2023-12-01 12:41:36 +09:00
コミット 000e111406
4個のファイルの変更10行の追加3行の削除

ファイルの表示

@ -1,3 +1,6 @@
# 1.1.1
* make install-zsh部分を修正
# 1.1.0
* TOTP対応
* READMEファイルで使い方を詳しく説明する

ファイルの表示

@ -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}

ファイルの表示

@ -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
```
## 初期設定

2
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(" sp - シンプルなパスワードマネージャー\n");