Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 35 lines (24 sloc) 1.167 kb
55b36e5 @chrisbra Initial Checkin of Version 0.2 from vim.org
authored
1 SCRIPT=plugin/savesignsPlugin.vim autoload/savesigns.vim
2 DOC=doc/savesigns.txt
3 PLUGIN=savesigns
4
e80278d @chrisbra This is release 0.4
authored
5 .PHONY : $(PLUGIN).vmb
55b36e5 @chrisbra Initial Checkin of Version 0.2 from vim.org
authored
6
e80278d @chrisbra This is release 0.4
authored
7 all: $(PLUGIN) $(PLUGIN).vmb
55b36e5 @chrisbra Initial Checkin of Version 0.2 from vim.org
authored
8
9 clean:
e80278d @chrisbra This is release 0.4
authored
10 rm -rf *.vmb */*.orig *.~* .VimballRecord doc/tags
55b36e5 @chrisbra Initial Checkin of Version 0.2 from vim.org
authored
11
12 dist-clean: clean
13
e80278d @chrisbra This is release 0.4
authored
14 vimball: $(PLUGIN).vmb
55b36e5 @chrisbra Initial Checkin of Version 0.2 from vim.org
authored
15
16 install:
e80278d @chrisbra This is release 0.4
authored
17 vim -N -c':so %' -c':q!' ${PLUGIN}.vmb
55b36e5 @chrisbra Initial Checkin of Version 0.2 from vim.org
authored
18
19 uninstall:
e80278d @chrisbra This is release 0.4
authored
20 vim -u NONE -N -c':RmVimball ${PLUGIN}.vmb'
55b36e5 @chrisbra Initial Checkin of Version 0.2 from vim.org
authored
21
22 undo:
23 for i in */*.orig; do mv -f "$$i" "$${i%.*}"; done
24
e80278d @chrisbra This is release 0.4
authored
25 savesigns.vmb:
55b36e5 @chrisbra Initial Checkin of Version 0.2 from vim.org
authored
26 vim -N -c 'ru! vimballPlugin.vim' -c ':let g:vimball_home=getcwd()' -c ':call append("0", ["plugin/savesignsPlugin.vim", "autoload/savesigns.vim", "doc/savesigns.txt"])' -c '$$d' -c ':%MkVimball ${PLUGIN}' -c':q!'
27
28 savesigns:
e80278d @chrisbra This is release 0.4
authored
29 rm -f ${PLUGIN}.vmb
55b36e5 @chrisbra Initial Checkin of Version 0.2 from vim.org
authored
30 perl -i.orig -pne 'if (/Version:/) {s/\.(\d)*/sprintf(".%d", 1+$$1)/e}' ${SCRIPT}
31 perl -i -pne 'if (/^let g:loaded_undo_browse/) {s/\.(\d)*/sprintf(".%d", 1+$$1)/e}' ${SCRIPT}
32 perl -i -pne 'if (/GetLatestVimScripts:/) {s/(\d+)\s+:AutoInstall:/sprintf("%d :AutoInstall:", 1+$$1)/e}' ${SCRIPT}
33 perl -i -pne 'if (/Last Change:/) {s/(:\s+).*$$/sprintf(": %s", `date -R`)/e}' ${SCRIPT}
34 perl -i.orig -pne 'if (/Version:/) {s/\.(\d)+.*\n/sprintf(".%d %s", 1+$$1, `date -R`)/e}' ${DOC}
Something went wrong with that request. Please try again.