Merge pull request #120 from ConnorAtherton/add-manual-install-steps
Add make rule for symlinking and removing /bin files
This commit is contained in:
13
Makefile
13
Makefile
@@ -45,6 +45,19 @@ lock-rpm:
|
||||
unlock-rpm:
|
||||
sudo yum versionlock clear
|
||||
|
||||
#
|
||||
# Manual install
|
||||
#
|
||||
manual-install:
|
||||
@echo 'Symlinking files from ./bin to /usr/local/bin'
|
||||
@cd bin && for f in `find . -type f -iname "*" ! -iname "Makefile"`; do ln -fs `pwd`/$$f /usr/local/bin/$$f; done
|
||||
@echo 'Done.'
|
||||
|
||||
manual-uninstall:
|
||||
@echo 'Removing blackbox files from /usr/local/bin'
|
||||
@cd bin && for f in `find . -type f -iname "*" ! -iname "Makefile"`; do rm /usr/local/bin/$$f; done
|
||||
@echo 'Done.'
|
||||
|
||||
#
|
||||
# DEB builds
|
||||
#
|
||||
|
||||
@@ -106,6 +106,7 @@ Installation Instructions:
|
||||
* *The RPM way*: Check out the repo and make an RPM via `make packages-rpm`; now you can distribute the RPM via local methods.
|
||||
* *The Debian/Ubuntu way*: Check out the repo and install [fpm](https://github.com/jordansissel/fpm). Now you can make a DEB `make packages-deb` that can be distributed via local methods.
|
||||
* *The hard way*: Copy all the files in "bin" to your "bin".
|
||||
* *The manual way*: `make manual-install` to install. `make manual-uninstall` to uninstall.
|
||||
* *The Antigen Way*: Add `antigen bundle StackExchange/blackbox` to your .zshrc
|
||||
* *The Zgen Way*: Add `zgen load StackExchange/blackbox` to your .zshrc where you're loading your other plugins.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user