aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 54fa4c5..0490bd3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,13 @@
i3venv = "$(HOME)"/.local/share/i3/venv
+all: install
+
$(i3venv):
mkdir -p "$(i3venv)"
python -m venv "$(i3venv)"
"$(i3venv)"/bin/pip install --upgrade -e git+https://github.com/enkore/i3pystatus#egg=i3pystatus netifaces colour -e git+https://github.com/bastienleonard/pysensors#egg=pysensors
-install: i3venv
+install: $(i3venv)
-ln -sfn "$(PWD)/ssh" "$(HOME)/.ssh"
-ln -sfn "$(PWD)/gnupg" "$(HOME)/.gnupg"
-ln -sf "$(PWD)/zsh/zshenv" "$(HOME)/.zshenv"
@@ -23,3 +25,5 @@ install: i3venv
grawity-code: ~/misc/grawity/code
-cd ~/misc/grawity/code; git pull
-make -C ~/misc/grawity/code pklist
+
+.PHONY: all install