diff options
author | Peter Odding <peter@peterodding.com> | 2010-07-10 18:30:24 +0200 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2010-07-10 18:30:24 +0200 |
commit | 889ea860c9b279088fd79da5396138ea654fc65a (patch) | |
tree | 948c9fc024a9b840095df67a5a057c5b8f05f62b | |
parent | 4fef0c17749e687d670b2e9e4e429022ec4c1055 (diff) | |
download | vim-easytags-889ea860c9b279088fd79da5396138ea654fc65a.tar.gz |
Replaced makefile with custom external Python script
-rw-r--r-- | Makefile | 25 |
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 |