summaryrefslogtreecommitdiff
path: root/plugins/Mapstraction/OpenLayers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Mapstraction/OpenLayers/Makefile')
-rw-r--r--plugins/Mapstraction/OpenLayers/Makefile15
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)