(docs) Makefile: re-order targets to build htmldocs-fast by default

rm -rf is not the most user-friendly default action

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2021-02-08 22:11:51 +00:00 committed by Anas Nashif
parent b6a69aa820
commit 2dfe82ed51
1 changed files with 4 additions and 3 deletions

View File

@ -9,8 +9,8 @@ KCONFIG_TURBO_MODE ?= 0
# Documentation targets
# ---------------------------------------------------------------------------
clean:
rm -rf ${BUILDDIR}
.PHONY: clean htmldocs htmldocs-fast pdfdocs doxygen
htmldocs-fast:
${MAKE} htmldocs KCONFIG_TURBO_MODE=1
@ -26,4 +26,5 @@ configure:
-DSPHINXOPTS=${SPHINXOPTS} \
-DKCONFIG_TURBO_MODE=${KCONFIG_TURBO_MODE}
.PHONY: clean htmldocs htmldocs-fast pdfdocs doxygen
clean:
rm -rf ${BUILDDIR}