Move functions to autoload/

This commit is contained in:
Israel Chauca Fuentes
2010-05-02 01:07:29 -05:00
parent 4083c581d6
commit 9292c9294a
3 changed files with 445 additions and 493 deletions

View File

@@ -1,19 +1,21 @@
PLUGIN=delimitMate
install:
cp -f doc/* ~/.vim/doc/${PLUGIN}.txt
cp -f plugin/* ~/.vim/plugin/${PLUGIN}.vim
cp -f doc/${PLUGIN}.txt ~/.vim/doc/${PLUGIN}.txt
cp -f plugin/${PLUGIN}.vim ~/.vim/plugin/${PLUGIN}.vim
cp -f autoload/${PLUGIN}.vim ~/.vim/autoload/${PLUGIN}.vim
doc_update: install
/usr/bin/vim -u NONE -c ':helptags ~/.vim/doc' -c ':q'
zip:
zip -r ${PLUGIN}.zip doc plugin
zip -r ${PLUGIN}.zip doc plugin autoload
zip ${PLUGIN}.zip -d \*.sw\?
vimball: install
echo doc/${PLUGIN}.txt > vimball.txt
echo plugin/${PLUGIN}.vim >> vimball.txt
echo autoload/${PLUGIN}.vim >> vimball.txt
/usr/bin/vim -c 'e vimball.txt' -c '%MkVimball! ${PLUGIN}' -c 'q'
gzip: vimball