|
@@ -3,7 +3,7 @@
|
3
|
3
|
|
4
|
4
|
# You can set these variables from the command line.
|
5
|
5
|
SPHINXOPTS =
|
6
|
|
-SPHINXBUILD = sphinx-build
|
|
6
|
+SPHINXBUILD = venv/bin/sphinx-build
|
7
|
7
|
SOURCEDIR = .
|
8
|
8
|
BUILDDIR = _build
|
9
|
9
|
MODULES = $(sort \
|
|
@@ -49,8 +49,8 @@ index.rst: Makefile
|
49
|
49
|
@echo "Preparing $@"
|
50
|
50
|
@echo ".. automodule:: $@\n :members:" > $@.rst
|
51
|
51
|
@if [ "$(findstring .,$@)" != "." ]; then \
|
52
|
|
- git -C $@ checkout master; \
|
53
|
|
- git -C $@ pull; \
|
|
52
|
+ git -C $@ checkout master 2>&1; \
|
|
53
|
+ git -C $@ pull 2>&1;\
|
54
|
54
|
make -C $@/_examples_ all; \
|
55
|
55
|
fi
|
56
|
56
|
@echo " $@.rst" >> index.rst; \
|
|
@@ -63,5 +63,5 @@ update:
|
63
|
63
|
git submodule foreach git pull
|
64
|
64
|
|
65
|
65
|
copy:
|
66
|
|
- rsync -av --delete _build/html/ /data/webroot/pylib_docs/
|
67
|
|
- chown www-data.www-data -R /data/webroot/pylib_docs/
|
|
66
|
+ rsync -av --delete _build/html/ /data/htdocs/pylib_docs/
|
|
67
|
+ chown www-data.www-data -R /data/htdocs/pylib_docs/
|