diff --git a/makefile b/makefile index 33e9acb..e2cd788 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,8 @@ -SERVER := voicegardens.server -REMOTE_HOST := voicegardens.org -ARCHIVE_DIR := ./voicegardens/archive -STATIC_DIR := ./voicegardens/static +SERVER := voicegardens.server +REMOTE_HOST := voicegardens.org +ARCHIVE_DIR := voicegardens/archive +STATIC_DIR := voicegardens/static +ZOOM_LEVEL := 5 default: dev-serve @@ -21,4 +22,4 @@ voicegardens: @fab -H $(REMOTE_HOST) voicegardens tiles: - @gdal2tiles.py -p raster -z 0-5 -w none $(STATIC_DIR)/images/pink.png $(STATIC_DIR)/tiles + @gdal2tiles.py -p raster -z 0-$(ZOOM_LEVEL) -w none $(STATIC_DIR)/images/pink.png $(STATIC_DIR)/tiles