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

2
.gitignore vendored
View File

@@ -1,11 +1,11 @@
/bin/plovr*.jar
/build/gh-pages
/build/lint-spec-timestamp
/build/lint-src-timestamp
/build/ol.js
/build/ol-all.js
/build/proj4js-combined.js
/build/require-all.js
/build/apidoc
/demos/*/advanced-optimizations.*
/demos/*/build.html
/demos/*/index.html

View File

@@ -122,11 +122,11 @@ $(PLOVR_JAR):
.PHONY: 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
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
test: