aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2010-07-10 18:30:24 +0200
committerPeter Odding <peter@peterodding.com>2010-07-10 18:30:24 +0200
commit889ea860c9b279088fd79da5396138ea654fc65a (patch)
tree948c9fc024a9b840095df67a5a057c5b8f05f62b /Makefile
parent4fef0c17749e687d670b2e9e4e429022ec4c1055 (diff)
downloadvim-easytags-889ea860c9b279088fd79da5396138ea654fc65a.tar.gz
Replaced makefile with custom external Python script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 0 insertions, 25 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index cd7e9d8..0000000
--- a/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-PROJECT=easytags
-VIMDOC := $(shell mktemp -u)
-ZIPFILE := $(shell mktemp -u)
-ZIPDIR := $(shell mktemp -d)
-DEPENDS=autoload/xolox.vim \
- autoload/xolox/escape.vim \
- autoload/xolox/timer.vim \
- autoload/xolox/option.vim
-
-# NOTE: Make does NOT expand the following back ticks!
-VERSION=`grep '^" Version:' $(PROJECT).vim | awk '{print $$3}'`
-
-# The main rule builds a ZIP that can be published to http://www.vim.org.
-archive: Makefile $(PROJECT).vim autoload.vim README.md
- @echo "Creating \`$(PROJECT).txt' .."
- @mkd2vimdoc.py $(PROJECT).txt < README.md > $(VIMDOC)
- @echo "Creating \`$(PROJECT)-$(VERSION).zip' .."
- @mkdir -p $(ZIPDIR)/plugin $(ZIPDIR)/autoload/xolox $(ZIPDIR)/doc
- @cp $(PROJECT).vim $(ZIPDIR)/plugin
- @cp autoload.vim $(ZIPDIR)/autoload/$(PROJECT).vim
- @for SCRIPT in $(DEPENDS); do cp $$HOME/.vim/$$SCRIPT $(ZIPDIR)/$$SCRIPT; done
- @cp $(VIMDOC) $(ZIPDIR)/doc/$(PROJECT).txt
- @cd $(ZIPDIR) && zip -r $(ZIPFILE) . >/dev/null
- @rm -R $(ZIPDIR)
- @mv $(ZIPFILE) $(PROJECT)-$(VERSION).zip