-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
46 lines (37 loc) · 882 Bytes
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Setup configs and links with minimal hassle
LN = ln -s
DF = ~/.dotfiles
MD = mkdir -p
ifdef F
LN += -f
endif
.PHONY: base
base: basic
.PHONY: all
all: basic wm
.PHONY: setup
setup: .gitmodules
git submodule update --init
$(MD) ~/.config
.PHONY: basic
basic: setup
$(LN) $(DF)/bash/profile ~/.bash_profile
$(LN) $(DF)/bash/rc ~/.bashrc
$(LN) $(DF)/gitconfig ~/.gitconfig
$(LN) $(DF)/vim ~/.vim
$(LN) $(DF)/vim/vimrc ~/.vimrc
$(LN) $(DF)/neovim ~/.config/nvim
$(LN) $(DF)/tmux ~/.config/tmux
.PHONY: wm
wm: setup
$(LN) $(DF)/i3 ~/.config/i3
$(LN) $(DF)/i3status ~/.config/i3status
$(LN) $(DF)/rofi ~/.config/rofi
# deprecated
.PHONY: mail
mail:
$(LN) $(DF)/mutt ~/.mutt
$(LN) $(DF)/mutt/offlineimaprc ~/.offlineimaprc
$(LN) $(DF)/mutt/msmtprc ~/.msmtprc
$(LN) $(DF)/mutt/urlview ~/.urlview
$(LN) $(DF)/mutt/notmuch-config ~/.notmuch-config