From 211f93248c7390afea0a46ebfb6e290733fa6886 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 30 Aug 2012 15:12:45 +0200 Subject: [PATCH] Store webgl-debug.js in build --- .gitignore | 2 +- Makefile | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c29095b406..7ec33e4db6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ /build/ol.js /build/ol3.js /build/ol3-compiled.js +/build/webgl-debug.js /demos/*/advanced-optimizations.* /demos/*/build.html /demos/*/debug.html @@ -15,4 +16,3 @@ /proj4js-combined.js /tools/*.pyc /tools/closure-compiler.jar -/webgl-debug.js diff --git a/Makefile b/Makefile index ff38dab96d..c335685327 100644 --- a/Makefile +++ b/Makefile @@ -7,10 +7,10 @@ empty := space := $(empty) $(empty) .PHONY: all -all: build demos webgl-debug.js +all: build demos .PHONY: build -build: build/ol.js build/ol3-compiled.js +build: build/ol.js build/ol3-compiled.js build/webgl-debug.js build/ol.js: $(PLOVR_JAR) $(SRC_OL3) base.json \ build/ol.json src/ol/ol.js @@ -122,7 +122,7 @@ serve: $(PLOVR_JAR) lint: gjslint --strict --limited_doc_files=$(subst $(space),$(comma),$(shell find externs -name \*.js)) $(SRC_OL3) $(SRC_OL) $(filter-out $(TARGETS),$(shell find demos -name \*.js)) -webgl-debug.js: +build/webgl-debug.js: curl https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/debug/webgl-debug.js > $@ $(PLOVR_JAR): @@ -139,4 +139,4 @@ clean: reallyclean: clean rm -f $(PLOVR_JAR) - rm -f webgl-debug.js + rm -f build/webgl-debug.js