forked from sukima/xmledit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 678 Bytes
/
Makefile
File metadata and controls
22 lines (17 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PLUGIN = xmledit
VERSION=1.9.1
SOURCE = ftplugin/xml.vim
SOURCE += doc/xml-plugin.txt
${PLUGIN}-${VERSION}.vba: ${SOURCE}
vim --cmd 'let g:plugin_name="${PLUGIN}-${VERSION}"' -S build.vim -cq!
install:
rsync -Rv ${SOURCE} ${HOME}/.vim/
clean:
rm ${PLUGIN}-${VERSION}.vba
update-version:
sed "s/Version: [\d.]\\+/Version: ${VERSION}/" README.mkd > README.mkd.tmp
mv README.mkd.tmp README.mkd
sed "s/Version: [\d.]\\+/Version: ${VERSION}/" ftplugin/xml.vim > ftplugin/xml.vim.tmp
mv ftplugin/xml.vim.tmp ftplugin/xml.vim
sed "s/Version: [\d.]\\+/Version: ${VERSION}/" doc/xml-plugin.txt > doc/xml-plugin.txt.tmp
mv doc/xml-plugin.txt.tmp doc/xml-plugin.txt