BIN_DIR?=/usr/local/bin
LIB_DIR?=/usr/local/lib
COMP_DIR?=/usr/local/etc/bash_completion.d
.PHONY: install uninstall test
install:
install -m755 backup $(BIN_DIR)/backup
install -m755 backup-files $(BIN_DIR)/backup-files
install -m755 backup-legal $(BIN_DIR)/backup-legal
install -m755 backup-music $(BIN_DIR)/backup-music
uninstall:
rm $(BIN_DIR)/backup
rm $(BIN_DIR)/backup-files
rm $(BIN_DIR)/backup-legal
rm $(BIN_DIR)/backup-music
test:
#shellcheck *.bash *.sh $(LIB_DIR)/mylib.bash $(LIB_DIR)/myparse.bash $(LIB_DIR)/myminiparse.sh