Skip to content

Commit

Permalink
Fixed "make uninstall" not working for manuals.
Browse files Browse the repository at this point in the history
  • Loading branch information
kobayasy committed Jul 12, 2021
1 parent 4c392f5 commit e8e70c0
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 47 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# .github/workflows/build.yml
# Last modified: 10-Jul-2021 (kobayasy)
# .github/workflows/build-linux.yml
# Last modified: 12-Jul-2021 (kobayasy)

name: Linux

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# .github/workflows/build.yml
# Last modified: 10-Jul-2021 (kobayasy)
# .github/workflows/build-macos.yml
# Last modified: 12-Jul-2021 (kobayasy)

name: macOS

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# .github/workflows/codeql-analysis.yml
# Last modified: 29-Jun-2021 (kobayasy)
# Last modified: 12-Jul-2021 (kobayasy)

name: CodeQL
name: SAST

on:
push:
Expand Down
2 changes: 2 additions & 0 deletions NOTE_ja.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[[README](README_ja.md)]

---

## 使い方のヒント

### パスワード入力の自動化:
Expand Down
30 changes: 17 additions & 13 deletions README_en.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
[[Japanese/日本語](README_ja.md)]

---

[![Linux](https://github.com/kobayasy/pSync/workflows/Linux/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-linux.yml)
[![macOS](https://github.com/kobayasy/pSync/workflows/macOS/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-macos.yml)
[![Windows](https://github.com/kobayasy/pSync/workflows/Windows/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-windows.yml)
/
[![SAST](https://github.com/kobayasy/pSync/workflows/SAST/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/codeql-analysis.yml)

<div align="center"><img src="psync.png" alt="pSync"></div>

This is an open-source cloud storage.
Securely and speedy synchronize your files by authenticate, encrypt and compress with [OpenSSH].
So for this to work, you must be able to login to the sync-host with [OpenSSH].
This is an open-source cloud storage.
Securely and speedy synchronize your files by authenticate, encrypt and compress with [OpenSSH].
So for this to work, you must be able to login to the sync-host with [OpenSSH].

### Installation:
This work is required for each sync-host include local-host.
1. Do the following to build and install.
This work is required for each sync-host include local-host.
1. Do the following to build and install.
```
curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.9/psync-2.9.tar.gz
tar xzf psync-2.9.tar.gz
cd psync-2.9
curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.10/psync-2.10.tar.gz
tar xzf psync-2.10.tar.gz
cd psync-2.10
./configure --prefix=$HOME
make install
```
2. Add ~/bin in the PATH if not included.
3. When using for the 1st time, do the following too.
For example, if the sync-directory is `~/pSync`.
2. Add ~/bin in the PATH if not included.
3. When using for the 1st time, do the following too.
For example, if the sync-directory is `~/pSync`.
```
mkdir ~/pSync && chmod 700 ~/pSync
cat <<. >~/.psync.conf && chmod 600 ~/.psync.conf
Expand All @@ -32,11 +36,11 @@ psync pSync
```

### Uesage:
1. Do the following to show usage.
1. Do the following to show usage.
```
psync --help
```
2. For example, when synchronizing with `guest@example.com`.
2. For example, when synchronizing with `guest@example.com`.
```
psync guest@example.com
```
Expand Down
30 changes: 17 additions & 13 deletions README_ja.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
[[英語/English](README_en.md)] [[使い方のヒント](NOTE_ja.md)]

---

[![Linux](https://github.com/kobayasy/pSync/workflows/Linux/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-linux.yml)
[![macOS](https://github.com/kobayasy/pSync/workflows/macOS/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-macos.yml)
[![Windows](https://github.com/kobayasy/pSync/workflows/Windows/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-windows.yml)
/
[![SAST](https://github.com/kobayasy/pSync/workflows/SAST/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/codeql-analysis.yml)

<div align="center"><img src="psync.png" alt="pSync"></div>

オープンソースのクラウドストーレージです。
[OpenSSH] によって認証/暗号化/圧縮を行い、安全かつ高速にファイル同期を行ないます。
よってこれを動かすには、[OpenSSH] で同期先ホストへログイン出来る必要が有ります。
オープンソースのクラウドストーレージです。
[OpenSSH] によって認証/暗号化/圧縮を行い、安全かつ高速にファイル同期を行ないます。
よってこれを動かすには、[OpenSSH] で同期先ホストへログイン出来る必要が有ります。

### インストール:
ローカルホストを含めた全ての同期ホストに対してこの作業が必要です。
1. 以下の手順でビルドとインストールを行ないます。
ローカルホストを含めた全ての同期ホストに対してこの作業が必要です。
1. 以下の手順でビルドとインストールを行ないます。
```
curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.9/psync-2.9.tar.gz
tar xzf psync-2.9.tar.gz
cd psync-2.9
curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.10/psync-2.10.tar.gz
tar xzf psync-2.10.tar.gz
cd psync-2.10
./configure --prefix=$HOME
make install
```
2. PATH に ~/bin が含まれていない場合は追加してください。
3. 始めて使う場合は以下の手順も必要です。
これは `~/pSync` を同期ディレクトリにする例です。
2. PATH に ~/bin が含まれていない場合は追加してください。
3. 始めて使う場合は以下の手順も必要です。
これは `~/pSync` を同期ディレクトリにする例です。
```
mkdir ~/pSync && chmod 700 ~/pSync
cat <<. >~/.psync.conf && chmod 600 ~/.psync.conf
Expand All @@ -32,11 +36,11 @@ psync pSync
```

### 使い方:
1. 以下の手順で使い方が表示されます。
1. 以下の手順で使い方が表示されます。
```
psync --help
```
2. 例えば `guest@example.com` と同期する場合は以下の手順になります。
2. 例えば `guest@example.com` と同期する場合は以下の手順になります。
```
psync guest@example.com
```
Expand Down
8 changes: 4 additions & 4 deletions src/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# @configure_input@
# Makefile.in - Last modified: 10-Jul-2021 (kobayasy)
# Makefile.in - Last modified: 12-Jul-2021 (kobayasy)
#
# Copyright (c) 2018-2021 by Yuichi Kobayashi <kobayasy@kobayasy.com>
#
Expand Down Expand Up @@ -88,10 +88,10 @@ install-man5ja : $(MAN5JA)
uninstall : uninstall-bin uninstall-man1ja uninstall-man5ja

uninstall-bin :
$(RM) $(addprefix $(DESTDIR)$(bindir)/,$(TARGET))
$(RM) $(addprefix $(DESTDIR)$(bindir)/,$(notdir $(TARGET)))

uninstall-man1ja :
$(RM) $(addprefix $(DESTDIR)$(mandir)/ja/man1/,$(MAN1JA))
$(RM) $(addprefix $(DESTDIR)$(mandir)/ja/man1/,$(notdir $(MAN1JA)))

uninstall-man5ja :
$(RM) $(addprefix $(DESTDIR)$(mandir)/ja/man5/,$(MAN5JA))
$(RM) $(addprefix $(DESTDIR)$(mandir)/ja/man5/,$(notdir $(MAN5JA)))
4 changes: 2 additions & 2 deletions src/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Installation:
This work is required for each sync-host include local-host.
1. Do the following to build and install.
---
tar xzf psync-2.9.tar.gz
cd psync-2.9
tar xzf psync-2.10.tar.gz
cd psync-2.10
./configure --prefix=$HOME
make install
---
Expand Down
18 changes: 9 additions & 9 deletions src/configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for pSync 2.9.
# Generated by GNU Autoconf 2.69 for pSync 2.10.
#
# Report bugs to <kobayasy@kobayasy.com>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='pSync'
PACKAGE_TARNAME='psync'
PACKAGE_VERSION='2.9'
PACKAGE_STRING='pSync 2.9'
PACKAGE_VERSION='2.10'
PACKAGE_STRING='pSync 2.10'
PACKAGE_BUGREPORT='kobayasy@kobayasy.com'
PACKAGE_URL='http://kobayasy.com/psync/'

Expand Down Expand Up @@ -1242,7 +1242,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures pSync 2.9 to adapt to many kinds of systems.
\`configure' configures pSync 2.10 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1307,7 +1307,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of pSync 2.9:";;
short | recursive ) echo "Configuration of pSync 2.10:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1394,7 +1394,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
pSync configure 2.9
pSync configure 2.10
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1763,7 +1763,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by pSync $as_me 2.9, which was
It was created by pSync $as_me 2.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -4760,7 +4760,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by pSync $as_me 2.9, which was
This file was extended by pSync $as_me 2.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -4823,7 +4823,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
pSync config.status 2.9
pSync config.status 2.10
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down

0 comments on commit e8e70c0

Please sign in to comment.