You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation/sphinx: skip build if user requested specific DOCBOOKS
If the user requested specific DocBooks to be built using 'make
DOCBOOKS=foo.xml htmldocs', assume no Sphinx build is desired. This
check is transitional, and can be removed once we drop the DocBook
build.
Cc: Markus Heiser <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Fixes: 22cba31 ("Documentation/sphinx: add basic working Sphinx configuration and build")
Signed-off-by: Jani Nikula <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Copy file name to clipboardExpand all lines: Documentation/Makefile.sphinx
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,12 @@ ifeq ($(HAVE_SPHINX),0)
17
17
$(warning The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed and in PATH, or set the SPHINXBUILD make variable to point to the full path of the '$(SPHINXBUILD)' executable.)
18
18
@echo " SKIP Sphinx $@ target."
19
19
20
+
else ifneq ($(DOCBOOKS),)
21
+
22
+
# Skip Sphinx build if the user explicitly requested DOCBOOKS.
0 commit comments