diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2018-03-19 12:57:41 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2018-03-19 12:59:07 +0100 |
commit | d7f3185715d127810e65f99fe2563ddb98f88e1b (patch) | |
tree | 29ce680e34faf897e06bf4670b1c0ea355d3f653 /Makefile | |
parent | 250ea5011517e1bb8bab27c3f87a6b965ae14742 (diff) | |
download | dotfiles-d7f3185715d127810e65f99fe2563ddb98f88e1b.tar.xz |
Makefile: MAke install target not do i3venv things
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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 |