aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-09-16 11:10:39 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-09-16 11:10:39 +0200
commit73d710cd7ac35c7209a8db29e5a9ca165c4a0bd9 (patch)
tree8a961ccd769bc6d38943c6ae14b53f3fb54da00e /Makefile
parent58a1ab2b457e94d923742b1894fb8eda423d3510 (diff)
downloaddotfiles-73d710cd7ac35c7209a8db29e5a9ca165c4a0bd9.tar.xz
Makefile: FIx install target and make it default
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
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