From 362927f7aa75767c35ee87167d447449ea956c89 Mon Sep 17 00:00:00 2001 From: sambattalio Date: Fri, 2 Oct 2020 12:07:26 -0400 Subject: [PATCH] thanks pnutz --- Makefile | 2 +- README.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3bfa15c..b77ca2c 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ install: chad_stride install -m 755 chad_stride $(PREFIX)/bin/chad_stride mkdir -p $(PREFIX)/share/man/man1 install -m644 chad_stride.1 $(PREFIX)/share/man/man1/chad_stride.1 - ln -s $(PREFIX)/bin/chad_stride $(PREFIX)/bin/cs + ln -sf $(PREFIX)/bin/chad_stride $(PREFIX)/bin/cs uninstall: rm -f $(PREFIX)/bin/chad_stride diff --git a/README.md b/README.md index f6431d6..d17bab3 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,12 @@ make make install ``` +You can install to a custom `PREFIX` by doing the following: +``` +make PREFIX=~/.local install +``` + + **Uninstall:** ``` make uninstall