A tool for managing my collection of notes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
371 B

# 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
mkdir -p $(DESTDIR)$(PREFIX)/share/kb
cp -r templates $(DESTDIR)$(PREFIX)/share/kb
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/kb
.PHONY: install uninstall