summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-19 14:37:19 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-19 14:37:19 -0400
commite8267f1b9e99cce79209eb2f47fce02d52d60b56 (patch)
tree90cdaf157f634820bc2351d73a23c8e762ef60ae /Makefile
parentf3c5a8543b2793f507b4a4801315d1f333e758cc (diff)
add doc wiki
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d1fcbbeee..87c725efe 100644
--- a/Makefile
+++ b/Makefile
@@ -8,5 +8,17 @@ install:
clean:
rm -rf build git-annex
+ rm -rf doc/.ikiwiki html
+
+# Build static html docs suitable for being shipped in the software
+# package. This depends on ikiwiki being installed to build the docs.
+ifeq ($(shell which ikiwiki),)
+IKIWIKI=echo "** ikiwiki not found" >&2 ; echo ikiwiki
+else
+IKIWIKI=ikiwiki
+endif
+
+docs:
+ $(IKIWIKI) doc html -v --wikiname git-annex --plugin=goodstuff
.PHONY: git-annex