Permalink
Browse files

Make vmb vimball files

  • Loading branch information...
1 parent 10f0520 commit cc4febe646198441d1c49676b09995517f80a970 @chrisbra committed Dec 15, 2011
Showing with 8 additions and 8 deletions.
  1. +8 −8 Makefile
View
@@ -4,33 +4,33 @@ 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
+ rm -f *.vba *.vmb */*.orig *.~* .VimballRecord
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 cc4febe

Please sign in to comment.