diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-08 13:52:35 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-08 14:28:55 -0800 |
commit | 34569017ce983248f19426a9b0bfb08b71901b2e (patch) | |
tree | 4ffc10c999076f6dfe63bd203a08c18de3e651bd /plugins/Mapstraction/OpenLayers/Makefile | |
parent | 001512df966c8c3b8f045f645e804b0a6fef8625 (diff) |
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
Diffstat (limited to 'plugins/Mapstraction/OpenLayers/Makefile')
-rw-r--r-- | plugins/Mapstraction/OpenLayers/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
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) |