From ba1e36c4bcf8fcfea89e1266415f2b4e703bb0b6 Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Mon, 26 Jun 2023 22:18:41 -0400 Subject: Change default installation PREFIX to /usr/local --- README.md | 7 ++++--- install.do | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9387e8f..28ed234 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/install.do b/install.do index ff27af6..0d66606 100644 --- a/install.do +++ b/install.do @@ -1,4 +1,4 @@ -PREFIX="${PREFIX:-/usr}" +PREFIX="${PREFIX:-/usr/local}" BINDIR="${BINDIR:-$PREFIX/bin}" MANDIR="${MANDIR:-$PREFIX/share/man}" -- cgit v1.2.3