Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 52 lines (32 sloc) 1.19 kb
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 48 49 50 51
# Makefile
.PHONY: linux mac windows vim-setup install update clean

linux: setup vim-setup vim-make-vimproc-linux

mac: setup vim-setup vim-make-vimproc-mac

windows: vim-setup

setup:
echo 'source '`pwd`'/dotfiles/dot.zshrc' >> ~/.zshrc
echo 'source '`pwd`'/dotfiles/dot.screenrc' >> ~/.screenrc

vim-setup: vim-setup-vimrc vim-install-bundle vim-install-plugins

vim-setup-vimrc:
echo 'source '`pwd`'/dotfiles/dot.vimrc' >> ~/.vimrc
echo '"root: '`pwd` >> ~/.vimrc
echo '"profiles: '`pwd`'/vim/profiles' >> ~/.vimrc
echo '".vim: '`pwd`'/vim/dot.vim' >> ~/.vimrc

vim-install-bundle:
mkdir -p ~/.bundle
git clone git://github.com/Shougo/neobundle.vim.git ~/.bundle/neobundle.vim

vim-make-vimproc-linux:
cd ~/.bundle/vimproc/ && make -f make_gcc.mak

vim-make-vimproc-mac:
cd ~/.bundle/vimproc/ && make -f make_mac.mak


install: vim-install-plugins

vim-install-plugins:
vim -u ./vim/profiles/bundles.vim +NeoBundleInstall +q


update: vim-update-plugins git-update

vim-update-plugins:
vim -u ./vim/profiles/bundles.vim +NeoBundleInstall! +q

git-update:
git pull


clean: vim-clean-plugins

vim-clean-plugins:
vim -u ./vim/profiles/bundles.vim +NeoBundleClean +q
Something went wrong with that request. Please try again.