summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorMarius Gedminas <marius@gedmin.as>2010-11-17 21:07:02 +0200
committerMarius Gedminas <marius@gedmin.as>2010-11-17 21:07:02 +0200
commit54cf7cb2572f43bc70cfb9f7c156095de68d41e6 (patch)
tree83fd491367c010c90ecae9532a4ca8bf6a509d67 /docs/Makefile
parent8c6a4cea3ed0e588ffa395a99859cb1ac780360f (diff)
downloadpyramid-54cf7cb2572f43bc70cfb9f7c156095de68d41e6.tar.gz
pyramid-54cf7cb2572f43bc70cfb9f7c156095de68d41e6.tar.bz2
pyramid-54cf7cb2572f43bc70cfb9f7c156095de68d41e6.zip
Make 'make -C docs html' check out the pylons sphinx theme, if needed.
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 768efb9df..b74c55bd5 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -25,7 +25,7 @@ help:
clean:
-rm -rf _build/*
-html:
+html: _themes/
mkdir -p _build/html _build/doctrees
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
@echo
@@ -47,7 +47,7 @@ pickle:
web: pickle
-htmlhelp:
+htmlhelp: _themes
mkdir -p _build/htmlhelp _build/doctrees
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp
@echo
@@ -83,3 +83,6 @@ epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) _build/epub
@echo
@echo "Build finished. The epub file is in _build/epub."
+
+_themes:
+ git clone git://github.com/Pylons/pylons_sphinx_theme.git _themes