summaryrefslogtreecommitdiff
path: root/.tmux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '.tmux/Makefile')
-rw-r--r--.tmux/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/.tmux/Makefile b/.tmux/Makefile
new file mode 100644
index 0000000..bb4db43
--- /dev/null
+++ b/.tmux/Makefile
@@ -0,0 +1,14 @@
+HOME=/home/urbain
+TARGETS=$(addprefix $(HOME)/,.tmux.conf .tmux/plugins/tpm)
+
+all : $(TARGETS)
+
+$(HOME)/.tmux.conf :
+ rm -f $@ && ln -s $(PWD)/tmux.conf $@
+
+$(HOME)/.tmux/plugins/tpm :
+ mkdir -p $(HOME)/.tmux/plugins
+ rm -f $@ && ln -s $(PWD)/tpm $@
+
+clean :
+ rm -f $(TARGETS)