blob: 7beddbfe2c445a51fb112bd43c6c6a77139b14fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
PREFIX = /usr/local
TARGET := $(HOME)
SCRIPTS := $(shell cd scripts && ls)
default:
@echo "Current configuration:"
@echo " PREFIX: $(PREFIX)"
@echo " TARGET: $(TARGET)"
install:
stow . --target $(TARGET)
[ -d $(HOME)/.tmux/plugins/tpm ] || git clone https://github.com/tmux-plugins/tpm $(HOME)/.tmux/plugins/tpm
install-scripts:
cd scripts && cp $(SCRIPTS) $(PREFIX)/bin/
uninstall:
stow -D . --target $(TARGET)
uninstall-scripts:
cd $(PREFIX)/bin && rm -f $(SCRIPTS)
.PHONY: default install install-scripts uninstall uninstall-scripts
|