Alter the build Makefiles to implement a suggestion from Antoine Mechelynck. vim-stuff
authorMahlon E. Smith <mahlon@martini.nu>
Thu, 10 Sep 2009 20:50:11 -0700
branchvim-stuff
changeset 11 a9ebb6c22d14
parent 10 a8f9271a7cab
child 12 a9f1ce3766d1
child 13 bf10296833e4
Alter the build Makefiles to implement a suggestion from Antoine Mechelynck. (http://users.skynet.be/antoine.mechelynck/)
glimpse/Makefile
glimpse/build.vim
specky/Makefile
specky/build.vim
specky/plugin/specky.vim
--- a/glimpse/Makefile	Thu Jul 30 09:35:10 2009 -0700
+++ b/glimpse/Makefile	Thu Sep 10 20:50:11 2009 -0700
@@ -4,10 +4,11 @@
 SOURCE += plugin/glimpse.vim
 
 ${PLUGIN}.vba: ${SOURCE}
-	vim --cmd 'let g:plugin_name="${PLUGIN}"' -s build.vim
+	- vim --cmd 'let g:plugin_name="${PLUGIN}"' -S build.vim -cq\!
+	gzip ${PLUGIN}.vba
 
 install:
 	rsync -Rv ${SOURCE} ${HOME}/.vim/
 
 clean:
-	rm ${PLUGIN}.vba
+	rm ${PLUGIN}.vba.gz
--- a/glimpse/build.vim	Thu Jul 30 09:35:10 2009 -0700
+++ b/glimpse/build.vim	Thu Sep 10 20:50:11 2009 -0700
@@ -1,6 +1,5 @@
-:let g:vimball_home="."
-:e Makefile
-:%!grep ^SOURCE
-:%s/^SOURCE\s\++\?=\s\+//
-:execute '%MkVimball!' . g:plugin_name
-:q!
+let g:vimball_home="."
+e Makefile
+%!grep ^SOURCE
+%s/^SOURCE\s\++\?=\s\+//
+execute '%MkVimball!' . g:plugin_name
--- a/specky/Makefile	Thu Jul 30 09:35:10 2009 -0700
+++ b/specky/Makefile	Thu Sep 10 20:50:11 2009 -0700
@@ -10,11 +10,11 @@
 SOURCE += snippets/rspec.snippets
 
 ${PLUGIN}.vba: ${SOURCE}
-	vim --cmd 'let g:plugin_name="${PLUGIN}"' -s build.vim
+	- vim --cmd 'let g:plugin_name="${PLUGIN}"' -S build.vim -cq\!
 	gzip ${PLUGIN}.vba
 
 install:
 	rsync -Rv ${SOURCE} ${HOME}/.vim/
 
 clean:
-	rm ${PLUGIN}.vba
+	rm ${PLUGIN}.vba.gz
--- a/specky/build.vim	Thu Jul 30 09:35:10 2009 -0700
+++ b/specky/build.vim	Thu Sep 10 20:50:11 2009 -0700
@@ -1,6 +1,5 @@
-:let g:vimball_home="."
-:e Makefile
-:%!grep ^SOURCE
-:%s/^SOURCE\s\++\?=\s\+//
-:execute '%MkVimball!' . g:plugin_name
-:q!
+let g:vimball_home="."
+e Makefile
+%!grep ^SOURCE
+%s/^SOURCE\s\++\?=\s\+//
+execute '%MkVimball!' . g:plugin_name
--- a/specky/plugin/specky.vim	Thu Jul 30 09:35:10 2009 -0700
+++ b/specky/plugin/specky.vim	Thu Sep 10 20:50:11 2009 -0700
@@ -32,7 +32,7 @@
 if exists( 'specky_loaded' )
 	finish
 endif
-let specky_loaded = '$Rev: 92 $'
+let specky_loaded = '$Rev$'
 
 
 "}}}