diff --git a/3rd/vim/Makefile b/3rd/vim/Makefile new file mode 100644 index 00000000..832cc821 --- /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 00000000..63aead13 --- /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 <