Permalink
Browse files

Make plugin aware of .vmb vimballs

  • Loading branch information...
1 parent 4e59c7a commit 6584511692e27d3f2fac87e4fe4c1ebda17e8d78 @chrisbra committed Mar 12, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 Makefile
View
18 Makefile
@@ -4,36 +4,36 @@ DOC=$(wildcard doc/*.txt)
PLUGIN=$(shell basename "$$PWD")
VERSION=$(shell sed -n '/Version:/{s/^.*\(\S\.\S\+\)$$/\1/;p}' $(SCRIPT))
-.PHONY: $(PLUGIN).vba README
+.PHONY: $(PLUGIN).vmb README
all: uninstall vimball install README
-vimball: $(PLUGIN).vba
+vimball: $(PLUGIN).vmb
clean:
# rm -f *.vba */*.orig *.~* .VimballRecord .*.un~ */.*.un~
find . -type f \( -name "*.vba" -o -name "*.orig" -o -name "*.~*" \
- -o -name ".VimballRecord" -o -name ".*.un~" -o -name "*.sw*" \) \
- -delete
+ -o -name ".VimballRecord" -o -name ".*.un~" -o -name "*.sw*" \
+ -o -name "*.vmb" \) -delete
dist-clean: clean
install:
- vim -N -c':so %' -c':q!' $(PLUGIN)-$(VERSION).vba
+ vim -N -c':so %' -c':q!' $(PLUGIN)-$(VERSION).vmb
uninstall:
- vim -N -c':RmVimball' -c':q!' $(PLUGIN)-$(VERSION).vba
+ vim -N -c':RmVimball' -c':q!' $(PLUGIN)-$(VERSION).vmb
undo:
for i in */*.orig; do mv -f "$$i" "$${i%.*}"; done
README:
cp -f $(DOC) README
-$(PLUGIN).vba:
- rm -f $(PLUGIN)-$(VERSION).vba
+$(PLUGIN).vmb:
+ rm -f $(PLUGIN)-$(VERSION).vmb
vim -N -c 'ru! vimballPlugin.vim' -c ':call append("0", [ "$(SCRIPT)", "$(AUTOL)", "$(DOC)"])' -c '$$d' -c ":%MkVimball $(PLUGIN)-$(VERSION) ." -c':q!'
- ln -f $(PLUGIN)-$(VERSION).vba $(PLUGIN).vba
+ ln -f $(PLUGIN)-$(VERSION).vmb $(PLUGIN).vmb
release: version all

0 comments on commit 6584511

Please sign in to comment.