From 301a5bcd3eda851505a983baee516bca72659c2c Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Mon, 24 Jan 2011 09:47:16 +0100 Subject: added little helper to create vimballs --- 3rd/vim/Makefile | 10 ++++++++++ 3rd/vim/compile_vba.sh | 31 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 3rd/vim/Makefile create mode 100644 3rd/vim/compile_vba.sh diff --git a/3rd/vim/Makefile b/3rd/vim/Makefile new file mode 100644 index 0000000..832cc82 --- /dev/null +++ b/3rd/vim/Makefile @@ -0,0 +1,10 @@ +PLUGIN = fluxbox +SOURCE = syntax/fluxapps.vim \ + syntax/fluxkeys.vim \ + syntax/fluxmenu.vim + +${PLUGIN}.vba: $(SOURCE) compile_vba.sh Makefile + sh ./compile_vba.sh $(SOURCE) > $@ + +clean: + rm ${PLUGIN}.vba diff --git a/3rd/vim/compile_vba.sh b/3rd/vim/compile_vba.sh new file mode 100644 index 0000000..63aead1 --- /dev/null +++ b/3rd/vim/compile_vba.sh @@ -0,0 +1,31 @@ +#!/bin/sh +# +# about: +# +# compile_vba.sh - create a vimball from the given files +# +# author: mathias gumz +# licence: MIT +# +# usage: +# +# compile_vba.sh infile1 infile2 infile3 +# +# the vimball is dumped to stdout, to create a .vba.gz +# just pipe the output to gzip + +cat <