-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
32 lines (24 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
i3venv = "$(HOME)"/.local/share/i3/venv
all: install-with-i3
install:
-ln -sfn "$(PWD)/ssh" "$(HOME)/.ssh"
-ln -sfn "$(PWD)/gnupg" "$(HOME)/.gnupg"
-ln -sf "$(PWD)/zsh/zshenv" "$(HOME)/.zshenv"
-mkdir -p "$(HOME)/.cache/zsh"
-mkdir -p "$(HOME)/.local/share/zsh"
-mkdir -p "$(HOME)/.local/share/nvim/backup"
-ln -sf "$(PWD)/mailcap" "$(HOME)/.mailcap"
-ln -sf "$(PWD)/msmtprc" "$(HOME)/.msmtprc"
$(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
~/misc/grawity/code: ~/misc/grawity/
-git clone https://github.com/grawity/code ~/misc/grawity/code
grawity-code: ~/misc/grawity/code
-cd ~/misc/grawity/code; git pull
-make -C ~/misc/grawity/code pklist
.PHONY: all install install-with-i3