Issue #3 This adds install and uninstall options. It doesn't yet run test due to issues I'm having with shellcheck and sourced filesmaster
parent
d56d5ddbfd
commit
05dc1b93bd
1 changed files with 17 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||||
|
# kb
|
||||||
|
.POSIX: |
||||||
|
|
||||||
|
# paths
|
||||||
|
PREFIX = /usr/local
|
||||||
|
#MANPREFIX = $(PREFIX)/share/man
|
||||||
|
|
||||||
|
install: |
||||||
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||||
|
sed '/^source/d' inc/* kb > $(DESTDIR)$(PREFIX)/bin/kb
|
||||||
|
chmod +x $(DESTDIR)$(PREFIX)/bin/kb
|
||||||
|
|
||||||
|
|
||||||
|
uninstall: |
||||||
|
rm -f $(DESTDIR)$(PREFIX)/bin/kb
|
||||||
|
|
||||||
|
.PHONY: install uninstall |
Loading…
Reference in new issue