aboutsummaryrefslogtreecommitdiff
path: root/vim/Makefile
blob: b0ad1fd45a9d61c2dfeaa2dd4ca5ea574f5846a2 (plain) (blame)
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
52
53
54

all: default install clean

install:
	cp stage ../init.vim

clean:
	rm stage

main:
	cat \
		base.vim  \
		plugins.vim \
		filetypes.vim \
		listchars.vim \
		mouse.vim \
		syntax.vim \
		>> stage

default:main
	echo "colorscheme distinguished" \
			>> stage

solarized:
	echo "colorscheme solarized" >> stage

solarized_dark: solarized
	echo "set backgroud=dark" >> stage

solarized_256: solarized
	echo "let g:solarized_termcolors=256" >> stage

solarized_dark_256: solarized solarized_dark solarized_256

base:
	# Disable Plugins for base
	sed -i -e'/pathogen#infect/d' stage
	cat \
		warning.vim \
		base.vim  \
		> stage


help:
	@echo "Current build options are:"
	@echo "	default: builds full configuratoin ( default )"
	@echo "	main: builds full configuratoin without colors"
	@echo "	solarized: adds solarized light ( requires terminal theme )"
	@echo "	solarized_dark: adds solarized dark ( requires terminal theme )"
	@echo "	solarized_256: adds solarized ( 256color )"
	@echo "	solarized_dark_256: adds solarized dark ( 256color )"
	@echo "	base: builds a basic configuration"
	@echo "	clean: cleans the stage file"
	@echo "	install: installs the staged config"