From 889ea860c9b279088fd79da5396138ea654fc65a Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Sat, 10 Jul 2010 18:30:24 +0200 Subject: Replaced makefile with custom external Python script --- Makefile | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3