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