forked from wavded/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (28 loc) · 872 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
all: update
install:
@for file in *; do \
if [ '$$file' != 'Makefile' ] && [ '$$file' != 'readme.md' ]; then \
if [ -e "$$HOME/.$$file" ]; then \
echo "$$HOME/.$$file exists"; \
else \
ln -s "$$PWD/$$file" "$$HOME/.$$file"; \
fi \
fi \
done
@git submodule update --init
powerline_font:
-mkdir ~/.fonts
@cd ~/.fonts/ && git clone https://github.com/scotu/ubuntu-mono-powerline.git
update:
@git submodule foreach git checkout master
@cd vim/bundle/powerline && git checkout develop
@git submodule foreach git pull
@make -s pathogen
pathogen:
@cd vim/autoload && rm pathogen.vim && curl -O https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
setup_cron:
@touch tmpcron
-crontab -l >> tmpcron
@echo "0 0 * * * cd $$HOME/dotfiles && git pull && make install >> /dev/null 2>&1" >> tmpcron
@crontab tmpcron
@rm tmpcron