From d7f3185715d127810e65f99fe2563ddb98f88e1b Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 19 Mar 2018 12:57:41 +0100 Subject: Makefile: MAke install target not do i3venv things MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index b55ceee..43f13a6 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,8 @@ i3venv = "$(HOME)"/.local/share/i3/venv -all: install +all: install-with-i3 -$(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=sensors basiciw https://download.gnome.org/sources/pygobject/3.26/pygobject-3.26.0.tar.xz - -install: $(i3venv) +install: -ln -sfn "$(PWD)/ssh" "$(HOME)/.ssh" -ln -sfn "$(PWD)/gnupg" "$(HOME)/.gnupg" -ln -sf "$(PWD)/zsh/zshenv" "$(HOME)/.zshenv" @@ -17,6 +12,13 @@ install: $(i3venv) -ln -sf "$(PWD)/msmtprc" "$(HOME)/.msmtprc" -ln -sf "$(PWD)/taskrc" "$(HOME)/.taskrc" +$(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=sensors basiciw https://download.gnome.org/sources/pygobject/3.26/pygobject-3.26.0.tar.xz + +install-with-i3: install $(i3venv) + ~/misc/grawity/: -mkdir -p ~/misc/grawity @@ -27,4 +29,4 @@ grawity-code: ~/misc/grawity/code -cd ~/misc/grawity/code; git pull -make -C ~/misc/grawity/code pklist -.PHONY: all install +.PHONY: all install install-with-i3 -- cgit v1.2.3-70-g09d2