blob: b55ceee58920586e8a467094defff270f672abfc (
plain)
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
|
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=sensors basiciw https://download.gnome.org/sources/pygobject/3.26/pygobject-3.26.0.tar.xz
install: $(i3venv)
-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/nvim/backup"
-ln -sf "$(PWD)/mailcap" "$(HOME)/.mailcap"
-ln -sf "$(PWD)/msmtprc" "$(HOME)/.msmtprc"
-ln -sf "$(PWD)/taskrc" "$(HOME)/.taskrc"
~/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
|