[Bf-docboard-svn] bf-manual: [7153] trunk/blender_docs/Makefile: Makefile: Cleanup: echoing commands

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


Revision: 7153
          https://developer.blender.org/rBM7153
Author:   Blendify
Date:     2020-09-30 00:37:58 +0200 (Wed, 30 Sep 2020)
Log Message:
-----------
Makefile: Cleanup: echoing commands

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

Modified: trunk/blender_docs/Makefile
===================================================================
--- trunk/blender_docs/Makefile	2020-09-29 22:33:22 UTC (rev 7152)
+++ trunk/blender_docs/Makefile	2020-09-29 22:37:58 UTC (rev 7153)
@@ -83,14 +83,12 @@
 
 
 html: .FORCE .SPHINXBUILD_EXISTS
-	QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
+	@QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
 	$(SPHINXBUILD) -b html $(SPHINXOPTS) $(SOURCEDIR) "$(BUILDDIR)/html"
-
 	@echo "To view, run:"
 	@echo "  "$(OPEN_CMD) $(shell pwd)"/$(BUILDDIR)/html/$(CONTENTS_HTML)"
 
 html_server: .FORCE .SPHINXBUILD_EXISTS
-	# './' (input), './html/' (output)
 	# - Single thread because we run many builds at once.
 	# - Optimize to use less memory per-process.
 	PYTHONOPTIMIZE=2 \
@@ -97,39 +95,35 @@
 	$(SPHINXBUILD) -a -E -b html $(SPHINXOPTS) -j 1 $(SOURCEDIR) "$(BUILDDIR)/html"
 
 epub: .FORCE .SPHINXBUILD_EXISTS
-	QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
+	@QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
 	$(SPHINXBUILD) -b epub $(SPHINXOPTS) $(SOURCEDIR) "$(BUILDDIR)/epub"
-
 	@echo "To view, run:"
 	@echo "  "$(OPEN_CMD) $(shell pwd)"/$(BUILDDIR)/epub/*.epub"
 
 singlehtml: .FORCE .SPHINXBUILD_EXISTS
-	QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
+	@QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
 	$(SPHINXBUILD) -b singlehtml $(SPHINXOPTS) $(SOURCEDIR) "$(BUILDDIR)/singlehtml"
-
 	@echo "To view, run:"
 	@echo "  "$(OPEN_CMD) $(shell pwd)"/$(BUILDDIR)/singlehtml/$(CONTENTS_HTML)"
 
 pdf: .FORCE
-	QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
+	@QUICKY_CHAPTERS=$(QUICKY_CHAPTERS) \
 	$(SPHINXBUILD) -b latex $(SOURCEDIR) "$(BUILDDIR)/latex"
-	make -C "$(BUILDDIR)/latex" LATEXOPTS="-interaction nonstopmode"
-
+	@make -C "$(BUILDDIR)/latex" LATEXOPTS="-interaction nonstopmode"
 	@echo "To view, run:"
 	@echo "  "$(OPEN_CMD) $(shell pwd)"/$(BUILDDIR)/latex/blender_manual.pdf"
 
 readme: .FORCE
-	rst2html5 readme.rst > $(BUILDDIR)/readme.html
-
+	@rst2html5 readme.rst > $(BUILDDIR)/readme.html
 	@echo "Build finished. The HTML page is in $(BUILDDIR)/readme.html."
 	@echo "To view, run:"
 	@echo "  "$(OPEN_CMD) $(shell pwd)"/$(BUILDDIR)/readme.html"
 
 check_syntax: .FORCE
-	- python3 tools_rst/rst_check_syntax.py --long --title --kbd > rst_check_syntax.log
-	- @echo "Lines:" `cat rst_check_syntax.log | wc -l`
-	- python3 tools/open_quickfix_in_editor.py rst_check_syntax.log
-	- rm rst_check_syntax.log
+	@python3 tools_rst/rst_check_syntax.py --long --title --kbd > rst_check_syntax.log
+	@echo "Lines:" `cat rst_check_syntax.log | wc -l`
+	@python3 tools/open_quickfix_in_editor.py rst_check_syntax.log
+	@rm rst_check_syntax.log
 
 check_structure: .FORCE
 	@python3 tools_rst/rst_check_images.py
@@ -136,7 +130,7 @@
 	@python3 tools_rst/rst_check_locale.py
 
 check_spelling: .FORCE
-	- python3 tools_rst/rst_check_spelling.py
+	@python3 tools_rst/rst_check_spelling.py
 
 check_links: .FORCE
 	$(SPHINXBUILD) -b linkcheck $(SOURCEDIR) $(BUILDDIR)/linkcheck
@@ -145,17 +139,18 @@
 	      "or in $(BUILDDIR)/linkcheck/output.txt."
 
 clean: .FORCE
-	rm -rf $(BUILDDIR)/*
+	@echo "Removing everything under '$(BUILDDIR)'..."
+	@rm -rf $(BUILDDIR)/*
 
 update_po: .FORCE
-	- python3 ./tools_maintenance/update_po.py
+	@python3 ./tools_maintenance/update_po.py
 
 report_po_progress: .FORCE
-	- python3 tools_report/report_translation_progress.py --quiet \
-	          `find locale/ -maxdepth 1 -mindepth 1 -type d -not -iwholename '*.svn*' -printf 'locale/%f\n' | sort`
+	@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
+	@$(SPHINXBUILD) -t builder_html -b gettext $(SPHINXOPTS) $(BUILDDIR)/locale
 	@echo
 	@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
 



More information about the Bf-docboard-svn mailing list