aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2010-06-06 12:33:15 +0200
committerPeter Odding <peter@peterodding.com>2010-06-06 12:33:15 +0200
commit8d13bd28ed9c5bfeef4ac09c2981821e1cf0fdc1 (patch)
tree4e6f494df547eebe4d836e059da5b301b15a130d /Makefile
parent58ccaa03ce3c224bdd0df943ddfd02cda70b5baf (diff)
downloadvim-easytags-8d13bd28ed9c5bfeef4ac09c2981821e1cf0fdc1.tar.gz
Moved script-local function s:unique() to autoload script
On the one hand I don't want to force people to download half my Vim profile before they can try one of the plug-ins I've written, but on the other hand I don't want to keep copy/pasting miscellaneous functions all over the place...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3dada56..c4a80c8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
-DEPENDS=$(HOME)/.vim/autoload/xolox/escape.vim \
- $(HOME)/.vim/autoload/xolox/timer.vim
+DEPENDS=autoload/xolox.vim \
+ autoload/xolox/escape.vim \
+ autoload/xolox/timer.vim
VIMDOC=doc/easytags.txt
HTMLDOC=doc/readme.html
ZIPDIR := $(shell mktemp -d)
@@ -14,7 +15,7 @@ archive: Makefile easytags.vim autoload.vim $(VIMDOC) $(HTMLDOC)
@mkdir -p $(ZIPDIR)/plugin $(ZIPDIR)/autoload/xolox $(ZIPDIR)/doc
@cp easytags.vim $(ZIPDIR)/plugin
@cp autoload.vim $(ZIPDIR)/autoload/easytags.vim
- @cp $(DEPENDS) $(ZIPDIR)/autoload/xolox
+ @for SCRIPT in $(DEPENDS); do cp $$HOME/.vim/$$SCRIPT $(ZIPDIR)/$$SCRIPT; done
@cp $(VIMDOC) $(ZIPDIR)/doc/easytags.txt
@cp $(HTMLDOC) $(ZIPDIR)/doc/easytags.html
@cd $(ZIPDIR) && zip -r $(ZIPFILE) . >/dev/null