[Bf-docboard-svn] bf-manual: [7154] trunk/blender_docs: Makefiles: Change pdf command to latexpdf

Aaron Carlisle noreply at blender.org
Wed Sep 30 00:54:00 CEST 2020


Revision: 7154
          https://developer.blender.org/rBM7154
Author:   Blendify
Date:     2020-09-30 00:54:00 +0200 (Wed, 30 Sep 2020)
Log Message:
-----------
Makefiles: Change pdf command to latexpdf

This is to sync with changes in sphinx and make updates easier

Modified Paths:
--------------
    trunk/blender_docs/Makefile
    trunk/blender_docs/make.bat

Modified: trunk/blender_docs/Makefile
===================================================================
--- trunk/blender_docs/Makefile	2020-09-29 22:37:58 UTC (rev 7153)
+++ trunk/blender_docs/Makefile	2020-09-29 22:54:00 UTC (rev 7154)
@@ -54,8 +54,8 @@
 
 ifneq "$(findstring singlehtml, $(MAKECMDGOALS))" ""
 	.DEFAULT_GOAL := singlehtml
-else ifneq "$(findstring pdf, $(MAKECMDGOALS))" ""
-	.DEFAULT_GOAL := pdf
+else ifneq "$(findstring latexpdf, $(MAKECMDGOALS))" ""
+	.DEFAULT_GOAL := latexpdf
 else
 	.DEFAULT_GOAL := html
 endif
@@ -106,7 +106,7 @@
 	@echo "To view, run:"
 	@echo "  "$(OPEN_CMD) $(shell pwd)"/$(BUILDDIR)/singlehtml/$(CONTENTS_HTML)"
 
-pdf: .FORCE
+latexpdf: .FORCE
 	@QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
 	$(SPHINXBUILD) -b latex $(SOURCEDIR) "$(BUILDDIR)/latex"
 	@make -C "$(BUILDDIR)/latex" LATEXOPTS="-interaction nonstopmode"
@@ -165,7 +165,7 @@
 	@echo "Convenience targets provided for building docs"
 	@echo "- html                 to make standalone HTML files (default)"
 	@echo "- singlehtml           to make a single large HTML file"
-	@echo "- pdf                  to make a PDF using LaTeX warning: this currently has some problems,"
+	@echo "- latexpdf             to make a PDF using LaTeX warning: this currently has some problems,"
 	@echo "                       though the PDF generates, there are various unresolved issues	"
 	@echo "- readme               to make a 'readme.html' file"
 	@echo "- clean                to delete all old build files"

Modified: trunk/blender_docs/make.bat
===================================================================
--- trunk/blender_docs/make.bat	2020-09-29 22:37:58 UTC (rev 7153)
+++ trunk/blender_docs/make.bat	2020-09-29 22:54:00 UTC (rev 7154)
@@ -25,7 +25,7 @@
 	echo.Convenience targets provided for building docs
 	echo.- html                 to make standalone HTML files ^(default^)
 	echo.- singlehtml           to make a single large HTML file
-	echo.- pdf                  to make a PDF using LaTeX warning: this currently has some problems,
+	echo.- latexpdf             to make a PDF using LaTeX warning: this currently has some problems,
 	echo.                       though the PDF generates, there are various unresolved issues
 	echo.- gettext              to make PO message catalogs
 	echo.- epub                 to make an epub
@@ -110,7 +110,7 @@
 	goto EOF
 )
 
-if "%1" == "pdf" (
+if "%1" == "latexpdf" (
 	%SPHINXBUILD% -b latex %SPHINXOPTS% %SOURCEDIR% %BUILDDIR%/latex
 	cd %BUILDDIR%/latex
 	make all-pdf



More information about the Bf-docboard-svn mailing list