Skip to content

Commit

Permalink
Fix issue #138
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierd committed Apr 15, 2012
1 parent 5507b8a commit fcbed9c
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
SHELL=/bin/bash
SHELL := /bin/bash
FILES := $(shell git ls-files autoload bin doc plugin)

all: dist
all: clang_complete.vmb

dist:
@vim -c 'r! git ls-files autoload bin doc plugin' \
clang_complete.vmb: $(FILES)
vim -c "r! git ls-files autoload bin doc plugin" \
-c '$$,$$d _' \
-c '%MkVimball! clang_complete.vba .' -c 'q!'
-c "%MkVimball! $@ ." -c 'q!'

install: dist
@vim clang_complete.vba -c 'so %' -c 'q'
.PHONY: install
install: clang_complete.vmb
vim $< -c 'so %' -c 'q'

.PHONY: clean
clean:
@rm -f clang_complete.vba
rm -f clang_complete.vba

0 comments on commit fcbed9c

Please sign in to comment.