From 73d710cd7ac35c7209a8db29e5a9ca165c4a0bd9 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 16 Sep 2017 11:10:39 +0200 Subject: Makefile: FIx install target and make it default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2