To keep the distchecks for the documentation, the documentation has to be built in the check target instead of distcheck-hook. While at it, rename doc/.build to doc/_build. This naming is the default with sphinx 0.6.2.remotes/origin/1.2
parent
d1b07171cc
commit
bf01067a8a
@ -1,7 +1,4 @@
|
||||
EXTRA_DIST = CHANGES LICENSE README.rst
|
||||
SUBDIRS = doc src test
|
||||
|
||||
distcheck-hook:
|
||||
sphinx-build -b html -W \
|
||||
$(distdir)/doc \
|
||||
$(distdir)/_build/doc/.build/html
|
||||
check-local: html
|
||||
|
@ -1 +1 @@
|
||||
.build/
|
||||
_build/
|
||||
|
@ -1,5 +1,5 @@
|
||||
To build the documentation, invoke
|
||||
|
||||
sphinx-build . .build/html
|
||||
make html
|
||||
|
||||
in this directory. Then point your browser to .build/html/index.html.
|
||||
Then point your browser to _build/html/index.html.
|
||||
|
Loading…
Reference in new issue