Fix Makefile for new sphinx build.

This commit is contained in:
Darko Poljak 2016-06-30 12:28:14 +02:00
parent 2981fc20da
commit b04ab0b630

View file

@ -73,7 +73,7 @@ man: mansphinxman mansphinxhtml
# Manpages #5: release part # Manpages #5: release part
MANWEBDIR=$(WEBBASE)/man/$(CHANGELOG_VERSION) MANWEBDIR=$(WEBBASE)/man/$(CHANGELOG_VERSION)
MANBUILDDIR=$(MANDIR)/_build/html MANBUILDDIR=docs/dist/html
man-dist: man man-dist: man
rm -rf "${MANWEBDIR}" rm -rf "${MANWEBDIR}"
@ -212,7 +212,7 @@ release:
# #
clean: clean:
rm -f $(MAN7DSTDIR)/cdist-reference.rst rm -f $(MANDIR)/cdist-reference.rst
find "$(MANDIR)" -mindepth 2 -type l \ find "$(MANDIR)" -mindepth 2 -type l \
| xargs rm -f | xargs rm -f