aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2019-01-10 11:55:37 +0100
committerJohn Ankarström <john@ankarstrom.se>2019-01-10 11:55:37 +0100
commit69c54e2597e93aa98e5a0a0b8d9695d8263c3102 (patch)
tree228b1d338d2dc19ed148fd5fc87d4341c4cba7f6 /README.md
parent2ba89e8763b38dd89b7a87e08c2063599dde0723 (diff)
downloadrepl-69c54e2597e93aa98e5a0a0b8d9695d8263c3102.tar.gz
better installation process
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md
index e8013da..7e4235f 100644
--- a/README.md
+++ b/README.md
@@ -3,10 +3,21 @@ a simple and readable C program that requires GNU readline.
### Installation
+The following commands install `repl` in `/usr/local/bin` and
+`repl.1`, its man page, in `/usr/local/man`:
+
$ make
- $ mv repl /usr/bin/repl
+ $ make install
+
+If you want to install it somewhere different from `/usr/local`,
+edit the Makefile and modify the `PREFIX` variable.
+
+To uninstall both binary and man page, run `make uninstall`.
### Usage
$ repl git
+ git > status
+ On branch master
+ Your branch is up to date with 'origin/master'.
git >