-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (36 loc) · 968 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
47
RC := $(HOME)/.rc
.PHONY: all profile vim gdbinit gitconfig zsh xmonad xmodmap hgrc
all: profile vim gdbinit gitconfig zsh xmonad xmodmap hgrc
profile:
rm -f $(HOME)/.profile
ln -s $(RC)/profile $(HOME)/.profile
vim:
rm -rf $(HOME)/.vim
rm -f $(HOME)/.vimrc
ln -s $(RC)/vim $(HOME)/.vim
ln -s $(RC)/vimrc $(HOME)/.vimrc
gdbinit:
rm -f $(HOME)/.gdbinit
ln -s $(RC)/gdbinit $(HOME)/.gdbinit
gitconfig:
rm -f $(HOME)/.gitconfig
ln -s $(RC)/gitconfig $(HOME)/.gitconfig
hgrc:
rm -f $(HOME)/.hgrc
ln -s $(RC)/hgrc $(HOME)/.hgrc
subl:
rm -f $(HOME)/.config/sublime-text-3
ln -s $(RC)/sublime-text-3 $(HOME)/.config/sublime-text-3
zsh:
rm -f $(HOME)/.zshrc
ln -s $(RC)/zshrc $(HOME)/.zshrc
rm -rf $(HOME)/.oh-my-zsh
ln -s $(RC)/oh-my-zsh $(HOME)/.oh-my-zsh
xmonad:
cd $(RC)/ez-xmonad
./install.sh
ln -s $(RC)/xmonad $(HOME)/.xmonad
ln -s $(RC)/xsession $(HOME)/.xsession
xmodmap:
rm -f $(HOME)/.xmodmap
ln -s $(RC)/xmodmap $(HOME)/.xmodmap