From 34569017ce983248f19426a9b0bfb08b71901b2e Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 8 Dec 2010 13:52:35 -0800 Subject: Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the full version. Included Makefile will recreate the OpenLayers.js using the statusnet.cfg strip configuration file and yui-compressor to do some extra minification at the end. Requires fetching the OpenLayers source download and dropping it in: http://openlayers.org/download/OpenLayers-2.10.tar.gz --- plugins/Mapstraction/OpenLayers/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 plugins/Mapstraction/OpenLayers/Makefile (limited to 'plugins/Mapstraction/OpenLayers/Makefile') diff --git a/plugins/Mapstraction/OpenLayers/Makefile b/plugins/Mapstraction/OpenLayers/Makefile new file mode 100644 index 000000000..6d2ef7eac --- /dev/null +++ b/plugins/Mapstraction/OpenLayers/Makefile @@ -0,0 +1,15 @@ +.fake: clean all + +TARGET=OpenLayers.js +SOURCEDIR=OpenLayers-2.10/ +HERE=`pwd` + +all: $(TARGET) + +clean: + rm -f $(TARGET) + +$(TARGET): statusnet.cfg + cp -f statusnet.cfg $(SOURCEDIR)/build/statusnet.cfg + (cd $(SOURCEDIR)/build && ./build.py statusnet.cfg) + yui-compressor $(SOURCEDIR)/build/OpenLayers.js -o $(TARGET) -- cgit v1.2.3-54-g00ecf