Build doc in build/gh-pages directory

This commit is contained in:
Tom Payne
2012-09-28 12:24:55 +02:00
parent ff19ab0a28
commit 74f87995c8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,11 +1,11 @@
/bin/plovr*.jar /bin/plovr*.jar
/build/gh-pages
/build/lint-spec-timestamp /build/lint-spec-timestamp
/build/lint-src-timestamp /build/lint-src-timestamp
/build/ol.js /build/ol.js
/build/ol-all.js /build/ol-all.js
/build/proj4js-combined.js /build/proj4js-combined.js
/build/require-all.js /build/require-all.js
/build/apidoc
/demos/*/advanced-optimizations.* /demos/*/advanced-optimizations.*
/demos/*/build.html /demos/*/build.html
/demos/*/index.html /demos/*/index.html
+2 -2
View File
@@ -122,11 +122,11 @@ $(PLOVR_JAR):
.PHONY: gh-pages .PHONY: gh-pages
gh-pages: gh-pages:
tools/git-update-ghpages openlayers/ol3 -i build/$(shell git rev-parse --abbrev-ref HEAD) -p $(shell git rev-parse --abbrev-ref HEAD) tools/git-update-ghpages openlayers/ol3 -i build/gh-pages/$(shell git rev-parse --abbrev-ref HEAD) -p $(shell git rev-parse --abbrev-ref HEAD)
.PHONY: doc .PHONY: doc
doc: doc:
$(JSDOC) -t doc/template -r src -d build/$(shell git rev-parse --abbrev-ref HEAD)/apidoc $(JSDOC) -t doc/template -r src -d build/gh-pages/$(shell git rev-parse --abbrev-ref HEAD)/apidoc
.PHONY: test .PHONY: test
test: test: