summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-01-09 21:52:32 +0100
committerJulian Andres Klode <jak@debian.org>2009-01-09 21:52:32 +0100
commit21ba650e32457ee67ac0f85b03c071969aa5934b (patch)
treecd9658996fbc6178317538b167f5281c92f1e6f4 /doc/Makefile
parent6a806f0570599e8f5e9438c9623d496df75571d4 (diff)
downloadpython-apt-21ba650e32457ee67ac0f85b03c071969aa5934b.tar.gz
* setup.py, doc/source/conf.py: Fix building by adding build/lib* to PYTHONPATH
We now build the extension first, and then the documentation. Also add the text docs.
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 39fe377f..327bba91 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -26,6 +26,10 @@ help:
clean:
-rm -rf build/*
+text:
+ mkdir -p build/text build/doctrees
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) build/text
+
html:
mkdir -p build/html build/doctrees
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) build/html