From 4b9a4468238b96482478b3fabdfe6fb8cabb4fd6 Mon Sep 17 00:00:00 2001 From: Trevor Elliott Date: Fri, 21 Jun 2013 14:29:28 -0700 Subject: Populate the gh-pages branch of the repo --- doc/build.mk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc') diff --git a/doc/build.mk b/doc/build.mk index 79efa14..8015747 100644 --- a/doc/build.mk +++ b/doc/build.mk @@ -62,3 +62,25 @@ $(jsdoc-dir)/index.html: \ $(topdir)/src/js/fiveui/injected/jquery-plugins.js \ | $(build-dir) $(call label,JSDOC)$(topdir)/tools/bin/jsdoc $^ $(redir) + + + +# Web Manual Publishing ######################################################## + +generate: generate-docs + +.PHONY: generate-docs +generate-docs: $(gh-pages-dir)/manual + +# this is a bit conservative, as it will copy the documentation through each +# time the rule gets invoked. Some sort of a tag file to track actual changes +# would be sufficient to not perform extra work. +$(gh-pages-dir)/manual: DIR := $(manual-dir) +$(gh-pages-dir)/manual: web-manual | pull-gh-pages + $(call cmd,copydir) + +generate-docs: $(gh-pages-dir)/jsdoc + +$(gh-pages-dir)/jsdoc: DIR := $(jsdoc-dir) +$(gh-pages-dir)/jsdoc: $(jsdoc-dir)/index.html | pull-gh-pages + $(call cmd,copydir) -- cgit v1.2.3