-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 711 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 711 Bytes
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
update: install-vundle bundles compile-command-t
upgrade: upgrade-bundles compile-command-t
install: cleanup update
cleanup:
rm -rf bundle
install-vundle:
test -d bundle/vundle || (mkdir -p bundle && cd bundle && git clone https://github.com/gmarik/vundle.git)
bundles:
vim -u ./bundles.vim +BundleInstall
cleanup-bundles:
ls bundle | while read b;do (cd bundle/$$b && git clean -f);done
upgrade-bundles: cleanup-bundles
#vim -u ./bundles.vim +BundleInstall!
vim +BundleInstall!
# only run compilation if bundle installed
compile-command-t:
ifneq ($(wildcard bundle/Command-T),)
cd bundle/Command-T/ruby/command-t/ && ruby extconf.rb && make
endif