forked from ungleich-public/cdist
Clean sphinx docs before building.
This commit is contained in:
parent
509a728211
commit
ccbb9697eb
3 changed files with 8 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -38,6 +38,7 @@ PYTHON_VERSION=cdist/version.py
|
|||
|
||||
SPHINXM=make -C $(DOCS_SRC_DIR) man
|
||||
SPHINXH=make -C $(DOCS_SRC_DIR) html
|
||||
SPHINXC=make -C $(DOCS_SRC_DIR) clean
|
||||
################################################################################
|
||||
# Manpages
|
||||
#
|
||||
|
@ -71,6 +72,9 @@ html: $(MANTYPES) $(DOCSREF) $(PYTHON_VERSION)
|
|||
|
||||
docs: man html
|
||||
|
||||
docs-clean:
|
||||
$(SPHINXC)
|
||||
|
||||
# Manpages #5: release part
|
||||
MANWEBDIR=$(WEBBASE)/man/$(CHANGELOG_VERSION)
|
||||
HTMLBUILDDIR=docs/dist/html
|
||||
|
|
|
@ -284,6 +284,8 @@ eof
|
|||
"$0" check-unittest
|
||||
|
||||
# Generate documentation (man and html)
|
||||
# First, clean old generated docs
|
||||
make docs-clean
|
||||
make docs
|
||||
|
||||
# Generate speeches (indirect check if they build)
|
||||
|
|
|
@ -319,6 +319,8 @@ eof
|
|||
"$0" check-unittest
|
||||
|
||||
# Generate documentation (man and html)
|
||||
# First, clean old generated docs
|
||||
make helper=${helper} WEBDIR=${WEBDIR} docs-clean
|
||||
make helper=${helper} WEBDIR=${WEBDIR} docs
|
||||
|
||||
# Generate speeches (indirect check if they build)
|
||||
|
|
Loading…
Reference in a new issue