SYNOPSIS
$ vim-packager build
$ make -f Makefile.vimp
# auto install dependency
$ make install -f Makefile.vimp
Constants
LIBPATH: vimlib/
Makefile Helper Functions
multi_line Array:Lines
add_macro ArrayRef:Makefile Lines , String: Macro Name , String: Macro
new_section ArrayRef:Makefile Lines , String: Section Name , Array: Depended macro names
add_st ArrayRef:Makefile Lines , String: Statement , Array: Statement Arguments
Statement Arguments is for Statement string, which is in sprintf format.
add_noop_st ArrayRef:Makefile Lines
Main Functions
new
meta
return current meta object.
section_all
section_install
section_pure_install
section_deps
section_link
get_installed_pkgs
check_dependency
pass meta object and check dependency.
init_vim_dir_macro
init vim dir macro
make_filelist
if install_dirs is given , then we should record:
autoload/zzz.vim
plugin/xxx.vim
if not , then we should find files from vimlib/
TO_INSTALL=$(VIM_BASEDIR)/plugin/xxx.vim
\ $(VIM_BASEDIR)/autoload/zzz.vim