diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2023-06-26 22:18:41 -0400 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2023-06-26 22:19:41 -0400 |
| commit | ba1e36c4bcf8fcfea89e1266415f2b4e703bb0b6 (patch) | |
| tree | ccf4c8e545defa9deabee624ed96b124b531af07 | |
| parent | 56c11921977757dded5c80b3988f1d4d6d0d348b (diff) | |
Change default installation PREFIX to /usr/local
| -rw-r--r-- | README.md | 7 | ||||
| -rw-r--r-- | install.do | 2 |
2 files changed, 5 insertions, 4 deletions
@@ -14,7 +14,8 @@ git clone https://git.sr.ht/~stonks3141/srtplay cd srtplay git submodule update --init -PREFIX=/usr/local haredo install +haredo +sudo haredo install ``` ### Without haredo @@ -27,8 +28,8 @@ git submodule update --init hare build . scdoc < srtplay.1.scd > srtplay.1 -install -Dm755 /usr/local/bin/srtplay ./srtplay -install -Dm644 /usr/local/share/man/man1/srtplay.1 ./srtplay.1 +install -Dm755 ./srtplay /usr/local/bin/srtplay +install -Dm644 ./srtplay.1 /usr/local/share/man/man1/srtplay.1 ``` ## Usage @@ -1,4 +1,4 @@ -PREFIX="${PREFIX:-/usr}" +PREFIX="${PREFIX:-/usr/local}" BINDIR="${BINDIR:-$PREFIX/bin}" MANDIR="${MANDIR:-$PREFIX/share/man}" |
