-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
40 lines (31 loc) · 963 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
# Installs extensions and compiles things that need compiling.
# https://github.com/markstory/vim-files/blob/master/Makefile
# http://ubuntuforums.org/showthread.php?t=275202
#
#
START="$(shell pwd)"
help:
@echo "install - install + compile native things."
@echo "update - Download update for all plugins."
install: symlink submodules commandt fonts bye
symlink:
ln -sf "$(shell readlink -f "src/vimrc")" ~/.vimrc
ln -sf "$(shell readlink -f "src/gvimrc")" ~/.gvimrc
ln -sf "$(shell readlink -f "src/vim")" ~/.vim
submodules:
git submodule init
git submodule update
commandt:
cd src/vim/bundle/Command-T/ruby/command-t/;\
/usr/bin/ruby extconf.rb;\
make clean && make
fonts:
current="$(shell pwd)"
mkdir -p /usr/share/fonts/truetype/font-install
cp bin/Monaco.ttf /usr/share/fonts/truetype/font-install/Monaco.ttf
fc-cache -fv
cd "$(START)"
update:
git submodule foreach git pull origin master
bye:
@echo "Congratulations! You did!"