Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Further preparing deployment script

  • Loading branch information...
commit fe6b6a882ce96d160885bf799e0a071b687db4fb 1 parent 76b5298
migurski authored
Showing with 31 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +30 −0 Makefile
1  .gitignore
View
@@ -0,0 +1 @@
+build
30 Makefile
View
@@ -0,0 +1,30 @@
+VERSION:=$(shell cat VERSION)
+PACKAGE=Blit-$(VERSION)
+TARBALL=$(PACKAGE).tar.gz
+DOCROOT=Blit.org:public_html/tilestache/www
+
+all: $(TARBALL)
+ #
+
+live: $(TARBALL)
+ python setup.py register
+
+$(TARBALL):
+ mkdir $(PACKAGE)
+ ln setup.py $(PACKAGE)/
+ ln README $(PACKAGE)/
+ ln VERSION $(PACKAGE)/
+
+ mkdir $(PACKAGE)/Blit
+ ln Blit/*.py $(PACKAGE)/Blit/
+
+ rm $(PACKAGE)/Blit/__init__.py
+ cp Blit/__init__.py $(PACKAGE)/Blit/__init__.py
+ perl -pi -e 's#\bN\.N\.N\b#$(VERSION)#' $(PACKAGE)/Blit/__init__.py
+
+ tar -czf $(TARBALL) $(PACKAGE)
+ rm -rf $(PACKAGE)
+
+clean:
+ find Blit -name '*.pyc' -delete
+ rm -rf $(TARBALL) doc
Please sign in to comment.
Something went wrong with that request. Please try again.