Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

110 lines (88 sloc) 3.245 kb
VERSION:=$(shell cat VERSION)
PACKAGE=TileStache-$(VERSION)
TARBALL=$(PACKAGE).tar.gz
DOCROOT=tilestache.org:public_html/tilestache/www
all: $(TARBALL)
#
live: $(TARBALL) doc
scp $(TARBALL) $(DOCROOT)/download/
rsync -Cr doc/ $(DOCROOT)/doc/
python setup.py register
$(TARBALL): doc
mkdir $(PACKAGE)
ln setup.py $(PACKAGE)/
ln README.md $(PACKAGE)/
ln VERSION $(PACKAGE)/
ln tilestache.cfg $(PACKAGE)/
ln tilestache.cgi $(PACKAGE)/
mkdir $(PACKAGE)/TileStache
ln TileStache/*.py $(PACKAGE)/TileStache/
rm $(PACKAGE)/TileStache/__init__.py
cp TileStache/__init__.py $(PACKAGE)/TileStache/__init__.py
perl -pi -e 's#\bN\.N\.N\b#$(VERSION)#' $(PACKAGE)/TileStache/__init__.py
mkdir $(PACKAGE)/TileStache/Vector
ln TileStache/Vector/*.py $(PACKAGE)/TileStache/Vector/
mkdir $(PACKAGE)/TileStache/Goodies
ln TileStache/Goodies/*.py $(PACKAGE)/TileStache/Goodies/
mkdir $(PACKAGE)/TileStache/Goodies/Caches
ln TileStache/Goodies/Caches/*.py $(PACKAGE)/TileStache/Goodies/Caches/
mkdir $(PACKAGE)/TileStache/Goodies/Providers
ln TileStache/Goodies/Providers/*.py $(PACKAGE)/TileStache/Goodies/Providers/
ln TileStache/Goodies/Providers/*.ttf $(PACKAGE)/TileStache/Goodies/Providers/
mkdir $(PACKAGE)/scripts
ln scripts/*.py $(PACKAGE)/scripts/
mkdir $(PACKAGE)/examples
#ln examples/*.py $(PACKAGE)/examples/
mkdir $(PACKAGE)/doc
ln doc/*.html $(PACKAGE)/doc/
mkdir $(PACKAGE)/man
ln man/*.1 $(PACKAGE)/man/
tar -czf $(TARBALL) $(PACKAGE)
rm -rf $(PACKAGE)
doc:
mkdir doc
pydoc -w TileStache
pydoc -w TileStache.Core
pydoc -w TileStache.Caches
pydoc -w TileStache.Memcache
pydoc -w TileStache.S3
pydoc -w TileStache.Config
pydoc -w TileStache.Vector
pydoc -w TileStache.Vector.Arc
pydoc -w TileStache.Geography
pydoc -w TileStache.Providers
pydoc -w TileStache.Mapnik
pydoc -w TileStache.MBTiles
pydoc -w TileStache.Sandwich
pydoc -w TileStache.Pixels
pydoc -w TileStache.Goodies
pydoc -w TileStache.Goodies.Caches
pydoc -w TileStache.Goodies.Caches.LimitedDisk
pydoc -w TileStache.Goodies.Caches.GoogleCloud
pydoc -w TileStache.Goodies.Providers
pydoc -w TileStache.Goodies.Providers.Composite
pydoc -w TileStache.Goodies.Providers.PostGeoJSON
pydoc -w TileStache.Goodies.Providers.SolrGeoJSON
pydoc -w TileStache.Goodies.Providers.MapnikGrid
pydoc -w TileStache.Goodies.Providers.MirrorOSM
pydoc -w TileStache.Goodies.Providers.Monkeycache
pydoc -w TileStache.Goodies.Providers.UtfGridComposite
pydoc -w TileStache.Goodies.Providers.UtfGridCompositeOverlap
pydoc -w TileStache.Goodies.Providers.TileDataOSM
pydoc -w TileStache.Goodies.Providers.Grid
pydoc -w TileStache.Goodies.Providers.GDAL
pydoc -w TileStache.Goodies.AreaServer
pydoc -w TileStache.Goodies.StatusServer
pydoc -w TileStache.Goodies.Proj4Projection
pydoc -w TileStache.Goodies.ExternalConfigServer
pydoc -w scripts/tilestache-*.py
mv TileStache.html doc/
mv TileStache.*.html doc/
mv tilestache-*.html doc/
perl -pi -e 's#<br><a href="file:/[^"]+">[^<]+</a>##' doc/*.html
cp API.html doc/index.html
perl -pi -e 's#http://tilestache.org/doc/##' doc/index.html
perl -pi -e 's#\bN\.N\.N\b#$(VERSION)#' doc/index.html
clean:
find TileStache -name '*.pyc' -delete
rm -rf $(TARBALL) doc
Jump to Line
Something went wrong with that request. Please try again.