[Bf-docboard-svn] bf-manual: [7155] trunk/blender_docs/Makefile: Makefile: Fixes for missing sphinx check / cleanup

Aaron Carlisle noreply at blender.org
Wed Sep 30 01:06:34 CEST 2020


Revision: 7155
          https://developer.blender.org/rBM7155
Author:   Blendify
Date:     2020-09-30 01:06:33 +0200 (Wed, 30 Sep 2020)
Log Message:
-----------
Makefile: Fixes for missing sphinx check / cleanup

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

Modified: trunk/blender_docs/Makefile
===================================================================
--- trunk/blender_docs/Makefile	2020-09-29 22:54:00 UTC (rev 7154)
+++ trunk/blender_docs/Makefile	2020-09-29 23:06:33 UTC (rev 7155)
@@ -106,7 +106,7 @@
 	@echo "To view, run:"
 	@echo "  "$(OPEN_CMD) $(shell pwd)"/$(BUILDDIR)/singlehtml/$(CONTENTS_HTML)"
 
-latexpdf: .FORCE
+latexpdf: .FORCE .SPHINXBUILD_EXISTS
 	@QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
 	$(SPHINXBUILD) -b latex $(SOURCEDIR) "$(BUILDDIR)/latex"
 	@make -C "$(BUILDDIR)/latex" LATEXOPTS="-interaction nonstopmode"
@@ -113,6 +113,11 @@
 	@echo "To view, run:"
 	@echo "  "$(OPEN_CMD) $(shell pwd)"/$(BUILDDIR)/latex/blender_manual.pdf"
 
+gettext: .FORCE .SPHINXBUILD_EXISTS
+	@$(SPHINXBUILD) -t builder_html -b gettext $(SPHINXOPTS) $(BUILDDIR)/locale
+	@echo
+	@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
+
 readme: .FORCE
 	@rst2html5 readme.rst > $(BUILDDIR)/readme.html
 	@echo "Build finished. The HTML page is in $(BUILDDIR)/readme.html."
@@ -149,13 +154,8 @@
 	@python3 tools_report/report_translation_progress.py --quiet \
 	        `find locale/ -maxdepth 1 -mindepth 1 -type d -not -iwholename '*.svn*' -printf 'locale/%f\n' | sort`
 
-gettext: .FORCE .SPHINXBUILD_EXISTS
-	@$(SPHINXBUILD) -t builder_html -b gettext $(SPHINXOPTS) $(BUILDDIR)/locale
-	@echo
-	@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
 
-
-# -----------------------------------------------------------------------------
+# ----------------------
 # Help for build targets
 help:
 	@echo ""



More information about the Bf-docboard-svn mailing list