[Bf-docboard-svn] bf-manual: [8160] trunk/blender_docs/Makefile: Makefile: fix check for sphinx-autobuild being installed

Campbell Barton noreply at blender.org
Wed Jun 23 05:16:44 CEST 2021


Revision: 8160
          https://developer.blender.org/rBM8160
Author:   campbellbarton
Date:     2021-06-23 05:16:44 +0200 (Wed, 23 Jun 2021)
Log Message:
-----------
Makefile: fix check for sphinx-autobuild being installed

Modified Paths:
--------------
    trunk/blender_docs/Makefile

Modified: trunk/blender_docs/Makefile
===================================================================
--- trunk/blender_docs/Makefile	2021-06-23 02:55:37 UTC (rev 8159)
+++ trunk/blender_docs/Makefile	2021-06-23 03:16:44 UTC (rev 8160)
@@ -33,7 +33,7 @@
 	.DEFAULT_GOAL := singlehtml
 else ifneq "$(findstring latexpdf, $(MAKECMDGOALS))" ""
 	.DEFAULT_GOAL := latexpdf
-else ifneq "$(which $(SPHINXAUTOBUILD) > /dev/null 2>&1)" ""
+else ifneq ("$(shell which $(SPHINXAUTOBUILD) 2> /dev/null)", "")
 	.DEFAULT_GOAL := livehtml
 else
 	.DEFAULT_GOAL := html



More information about the Bf-docboard-svn mailing list