aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: ab48c07df220fd12738a64f0979ab3ceb13dca91 (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
i3venv = ~/.local/share/i3/venv

$(i3venv):
	mkdir -p "$(i3venv)"
	python -m venv "$(i3venv)"
	"$(i3venv)"/bin/pip install --upgrade i3pystatus netifaces colour

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"

~/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