Add a gh-pages target to Makefile

This commit is contained in:
Éric Lemoine
2012-09-28 11:25:43 +02:00
parent a347454aa3
commit e93bb6a39b

View File

@@ -120,6 +120,10 @@ plovr: $(PLOVR_JAR)
$(PLOVR_JAR):
curl http://dev.camptocamp.com/files/tpayne/plovr/$(notdir $@) >$@
.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)
.PHONY: doc
doc:
$(JSDOC) -t doc/template -r src -d build/$(shell git rev-parse --abbrev-ref HEAD)/apidoc