diff options
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 |