Skip to contentSkip to conversation

Build script updates

PATCH Applied Akira Yokosawa 2 participants 9 messages Apr 11, 2022 Kbuild

lore
Share & tools
lore
#0 lore raw

cover Build script updates

Hi Paul,

Here is a set of updates to build scripts.

Patch 1/7 is to avoid possible build errors when previous build is interrupted in the middle of converting figures with some intermediate temporary eps and/or pdf file(s) left.

Example of such an error (long message not folded):

CodeSamples/datastruct/hash/data/hps.perf.2020.11.26a/zoocatall.eps --> .pdf
make: *** No rule to make target 'CodeSamples/datastruct/hash/data/hps.perf.2020.11.26a/zoocatall__.eps', needed by 'CodeSamples/datastruct/hash/data/hps.perf.2020.11.26a/zoocatall__.pdf'. Stop.

After this type of an error (or errors after a parallel build), one needs to run "make clean" (or "make neatfreak"), and run "make" again.

By adding commands in Makefile to ignore file names of "*__.eps", this mode of error can be avoided.

The added pattern in .gitignore resolves false "Untracked files" from "git status".

Patch 2/7 fixes redundant use of filter-out function in Makefile.

Patch 3/7 updates help texts regarding EBook-size builds in Makefile. They don't need (WIP) anymore.

Patch 4/7 is to allow use of LaTeX commands other than "pdflatex". In vanilla TeX Live, there is an alternative command of "pdflatex-dev", which is used to test development-phase latex implementation. With this change, I am allowed to test it by saying "make LATEX=pdflatex-dev".

Patch 5/7 is to catch typo in the LATEX variable.

Patch 6/7 catches an error exit of LATEX command and print log messages to the terminal.

Patch 7/7 is a cosmetic tweak improving the later stages of progress reports from parallel builds.

Thanks, Akira
--
Akira Yokosawa (7):
Makefile: Ignore temporary .eps files
Makefile: Remove redundant nest of filter-out function
Makefile: Let ebook-size builds graduate from 'WIP' run{first}latex.sh: Use variable for 'pdflatex' command
Makefile: Test $(LATEX) before invoking runfirstlatex.sh run(first)latex.sh: Catch error exit of LATEX runlatex.sh: Align status report messages

 .gitignore                            |   1 +
 Makefile                              |  27 ++++-
 Makefile.2022.01.25                   |   4 +-
 utilities/runfirstlatex.2022.01.25.sh |  98 +++++++++++++++
 utilities/runfirstlatex.sh            |  16 ++-
 utilities/runlatex.2022.01.25.sh      | 164 ++++++++++++++++++++++++++
 utilities/runlatex.sh                 |  23 ++--
 7 files changed, 314 insertions(+), 19 deletions(-)
 create mode 100644 utilities/runfirstlatex.2022.01.25.sh
 create mode 100644 utilities/runlatex.2022.01.25.sh

base-commit: 87d3513257e793b90f53ebd4b138ab2371aaf25c

Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/7 Makefile: Ignore temporary .eps files

Recipes in epstopdf-rule.mk and a2ping-rule.mk use *__.eps and *__.pdf as temporary files for fixing fonts and cropping.

Those files are removed afterwards in normal builds, but if you interrupt "make", they can escape from removals.

They may cause a build error in subsequent "make", which might not be resolved by "make clean" but needs "make neatfreak".

Add variable EPSSOURCES_TMP in Makefile and filter them out from EPSSOURCES.

Add a pattern in .gitignore for them as well.

---
 .gitignore |  1 +
 Makefile   | 11 +++++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)
.gitignore +1 -0
index 3711e0c6..1604a4d8 100644
@@ -17,6 +17,7 @@
 *.swo
 *_backup.svg
 *.epsi
+*__.eps
 *.svgi
 *.fcv
 *.ltms
Makefile +9 -2
index e09ba32d..a605487a 100644
@@ -67,13 +67,20 @@ EPSSOURCES_DUP := \
 	$(EPSSOURCES_FROM_DOT) \
 	$(EPSSOURCES_FROM_FIG)
 
+EPSSOURCES_TMP := \
+	$(wildcard */*__.eps) \
+	$(wildcard */*/*__.eps) \
+	$(wildcard */*/*/*__.eps) \
+	$(wildcard */*/*/*/*__.eps) \
+	$(wildcard */*/*/*/*/*__.eps) \
+
 EPSSOURCES_OLD := \
 	$(wildcard CodeSamples/*/*/OLD-*/*.eps) \
 	$(wildcard CodeSamples/*/*/OLD-*/*/*.eps) \
 	$(wildcard CodeSamples/*/*/*/OLD-*/*.eps) \
 	$(wildcard CodeSamples/*/*/*/OLD-*/*/*.eps)
 
-EPSSOURCES := $(sort $(filter-out $(EPSSOURCES_OLD),$(filter-out $(OBSOLETE_FILES),$(EPSSOURCES_DUP))))
+EPSSOURCES := $(sort $(filter-out $(EPSSOURCES_OLD),$(filter-out $(OBSOLETE_FILES) $(EPSSOURCES_TMP),$(EPSSOURCES_DUP))))
 
 PDFTARGETS_OF_EPS := $(EPSSOURCES:%.eps=%.pdf)
 
@@ -564,7 +571,7 @@ clean:
 	rm -f perfbook*.glg perfbook*.glo perfbook*.gls perfbook*.glsdefs
 	rm -f CodeSamples/snippets.d
 	rm -f *.synctex*
-	@rm -f $(OBSOLETE_FILES)
+	@rm -f $(OBSOLETE_FILES) $(EPSSOURCES_TMP)
 
 paper-clean:
 	rm -f $(BASE_DEPENDS)
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/7 Makefile: Remove redundant nest of filter-out function

In reply to Akira Yokosawa

Simplify the use of filter-out function.
This simpler list of variables in its first argument should have been used in commit afd0c61f9cd2 ("Makefile: Ignore .eps files under CodeSamples/.../OLD-*/").

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index a605487a..ff8a6a26 100644
@@ -80,7 +80,7 @@ EPSSOURCES_OLD := \
 	$(wildcard CodeSamples/*/*/*/OLD-*/*.eps) \
 	$(wildcard CodeSamples/*/*/*/OLD-*/*/*.eps)
 
-EPSSOURCES := $(sort $(filter-out $(EPSSOURCES_OLD),$(filter-out $(OBSOLETE_FILES) $(EPSSOURCES_TMP),$(EPSSOURCES_DUP))))
+EPSSOURCES := $(sort $(filter-out $(EPSSOURCES_OLD) $(OBSOLETE_FILES) $(EPSSOURCES_TMP),$(EPSSOURCES_DUP)))
 
 PDFTARGETS_OF_EPS := $(EPSSOURCES:%.eps=%.pdf)
 
Signature · 1 line
2.25.1
#3 lore raw

PATCH 3/7 Makefile: Let ebook-size builds graduate from 'WIP'

In reply to Akira Yokosawa

Now that ebook-size builds are mostly in good shape, let them graduate from "WIP" by removing such markers in help texts.

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
index ff8a6a26..fb899fa0 100644
@@ -516,7 +516,7 @@ help-paper:
 	@echo "  perfbook-lt.pdf,   lt:   2c layout on letterpaper"
 	@echo "  perfbook-hb.pdf,   hb:   2c layout for hard cover book"
 	@echo "  perfbook-a4.pdf,   a4:   2c layout on a4paper"
-	@echo "  perfbook-eb.pdf,   eb:   1c layout for ebook reader (WIP)"
+	@echo "  perfbook-eb.pdf,   eb:   1c layout for ebook reader"
 
 help: help-official help-paper
 	@echo
@@ -533,7 +533,7 @@ help-prefixed:
 	@echo "Prefixed targets:"
 	@echo "  \"1c*\" such as \"1cnq\", \"1csf\", and \"1cix\" are for 1c-layout."
 	@echo "  \"ebnq\", \"ebsf\", \"ebsfnq\", \"ebix\", and \"ebdf\" are for ebook-size 1c-layout,"
-	@echo "     independent of PERFBOOK_PAPER. (WIP)"
+	@echo "     independent of PERFBOOK_PAPER."
 
 help-experimental:
 	@echo
Signature · 1 line
2.25.1
#4 lore raw

PATCH 4/7 run{first}latex.sh: Use variable for 'pdflatex' command

In reply to Akira Yokosawa

In testing a dev version of upstream LaTeX, "pdflatex-dev" is used in place of "pdflatex".

Using a variable named "LATEX", whose default is pdflatex, in the scripts helps in such cases.

Update Makefile as well so that the dev version can be specified as follows:

make LATEX=pdflatex-dev

Note 1: The trick for setting a default value to a shell variable using ":" is borrowed from an answer in unix.stackexchange.com:

    https://unix.stackexchange.com/questions/122845/

Note 2: To keep the test of utilities/parallel-latex-regress.sh working, make copies of the scripts before this change as utilities/run{first}latex.2022.01.25.sh.

---
 Makefile                              |   5 +-
 Makefile.2022.01.25                   |   4 +-
 utilities/runfirstlatex.2022.01.25.sh |  98 +++++++++++++++
 utilities/runfirstlatex.sh            |   6 +-
 utilities/runlatex.2022.01.25.sh      | 164 ++++++++++++++++++++++++++
 utilities/runlatex.sh                 |  12 +-
 6 files changed, 278 insertions(+), 11 deletions(-)
 create mode 100644 utilities/runfirstlatex.2022.01.25.sh
 create mode 100644 utilities/runlatex.2022.01.25.sh
Makefile +3 -2
index fb899fa0..4ab54130 100644
@@ -1,4 +1,5 @@
 SHELL = /bin/bash
+LATEX ?= pdflatex
 
 GITREFSTAGS := $(shell ls -d .git/refs/tags 2>/dev/null)
 
@@ -224,7 +225,7 @@ qqmsg: perfbook.pdf
 	@echo "built as perfbook.pdf."
 
 $(PDFTARGETS): %.pdf: %.tex %.bbl
-	sh utilities/runlatex.sh $(basename $@)
+	LATEX=$(LATEX) sh utilities/runlatex.sh $(basename $@)
 
 $(PDFTARGETS:.pdf=.bbl): %.bbl: %.aux $(BIBSOURCES)
 	bibtex $(basename $@)
@@ -233,7 +234,7 @@ $(PDFTARGETS:.pdf=.aux): %.aux: %.tex $(LATEXGENERATED)
 ifeq ($(NEWTXTEXT),)
 	$(error Font package 'newtx' not found. See #9 in FAQ-BUILD.txt)
 endif
-	sh utilities/runfirstlatex.sh $(basename $@)
+	LATEX=$(LATEX) sh utilities/runfirstlatex.sh $(basename $@)
 
 autodate.tex: $(LATEXSOURCES) $(BIBSOURCES) $(LST_SOURCES) \
     $(PDFTARGETS_OF_EPS) $(PDFTARGETS_OF_SVG) $(FCVSNIPPETS) $(FCVSNIPPETS_VIA_LTMS) \
Makefile.2022.01.25 +2 -2
index 6ee849fd..9e4b7ecd 100644
@@ -217,7 +217,7 @@ qqmsg: perfbook.pdf
 	@echo "built as perfbook.pdf."
 
 $(PDFTARGETS): %.pdf: %.tex %.bbl
-	sh utilities/runlatex.sh $(basename $@)
+	sh utilities/runlatex.2022.01.25.sh $(basename $@)
 
 $(PDFTARGETS:.pdf=.bbl): %.bbl: %.aux $(BIBSOURCES)
 	bibtex $(basename $@)
@@ -226,7 +226,7 @@ $(PDFTARGETS:.pdf=.aux): $(LATEXGENERATED) $(LATEXSOURCES) $(LST_SOURCES)
 ifeq ($(NEWTXTEXT),)
 	$(error Font package 'newtx' not found. See #9 in FAQ-BUILD.txt)
 endif
-	sh utilities/runfirstlatex.sh $(basename $@)
+	sh utilities/runfirstlatex.2022.01.25.sh $(basename $@)
 
 autodate.tex: perfbook-lt.tex $(LATEXSOURCES) $(BIBSOURCES) \
     $(PDFTARGETS_OF_EPS) $(PDFTARGETS_OF_SVG) $(FCVSNIPPETS) $(FCVSNIPPETS_VIA_LTMS) \
utilities/runfirstlatex.2022.01.25.sh new file +98 -0

98 lines not on this page · raw message

utilities/runfirstlatex.sh +4 -2
index 22bafc2a..f5504f88 100644
@@ -67,8 +67,10 @@ fi
 
 basename=`echo $1 | sed -e 's/\.tex$//'`
 
-echo "pdflatex 1 for $basename.pdf"
-pdflatex $LATEX_OPT $basename > /dev/null 2>&1 < /dev/null || :
+: ${LATEX:-pdflatex}
+
+echo "$LATEX 1 for $basename.pdf"
+$LATEX $LATEX_OPT $basename > /dev/null 2>&1 < /dev/null || :
 if grep -q 'LaTeX Warning: You have requested' $basename.log
 then
 	grep -A 4 'LaTeX Warning: You have requested' $basename.log
utilities/runlatex.2022.01.25.sh new file +164 -0

164 lines not on this page · raw message

utilities/runlatex.sh +7 -5
index 48761fd0..db196ad2 100644
@@ -29,6 +29,8 @@
 # Authors: Paul E. McKenney <[email protected]>
 #          Akira Yokosawa <[email protected]>
 
+: ${LATEX:-pdflatex}
+
 diff_warning () {
 	if diff -q $basename-warning.log $basename-warning-prev.log >/dev/null
 	then
@@ -74,7 +76,7 @@ iterate_latex () {
 		exit 1
 	fi
 	makeglossaries $basename > /dev/null 2>&1
-	pdflatex $LATEX_OPT $basename > /dev/null 2>&1 < /dev/null || :
+	$LATEX $LATEX_OPT $basename > /dev/null 2>&1 < /dev/null || :
 	if grep -q '! Emergency stop.' $basename.log
 	then
 		grep -B 15 -A 5 '! Emergency stop.' $basename.log
@@ -106,11 +108,11 @@ basename=`echo $1 | sed -e 's/\.tex$//'`
 if ! test -r $basename-first.log
 then
 	echo "No need to update aux and bbl files."
-	echo "pdflatex 1 for $basename.pdf"
+	echo "$LATEX 1 for $basename.pdf"
 	iter=1
 else
 	rm -f $basename-first.log
-	echo "pdflatex 2 for $basename.pdf # for possible bib update"
+	echo "$LATEX 2 for $basename.pdf # for possible bib update"
 	iter=2
 fi
 iterate_latex
@@ -127,7 +129,7 @@ do
 		break
 	fi
 	iter=`expr $iter + 1`
-	echo "pdflatex $iter for $basename.pdf # remaining undefined refs"
+	echo "$LATEX $iter for $basename.pdf # remaining undefined refs"
 	undefined_refs=1
 	iterate_latex
 done
@@ -139,7 +141,7 @@ do
 		break
 	fi
 	iter=`expr $iter + 1`
-	echo "pdflatex $iter for $basename.pdf # label(s) may have changed"
+	echo "$LATEX $iter for $basename.pdf # label(s) may have changed"
 	iterate_latex
 done
 exerpt_warnings
Signature · 1 line
2.25.1
#5 lore raw

PATCH 5/7 Makefile: Test $(LATEX) before invoking runfirstlatex.sh

In reply to Akira Yokosawa

The LATEX variable can have a typo. Check if it is available before invoking it.

---
 Makefile | 7 +++++++
 1 file changed, 7 insertions(+)
Makefile +7 -0
index 4ab54130..abcd7e2c 100644
@@ -101,6 +101,7 @@ PDFTARGETS_OF_EPSOTHER := $(filter-out $(PDFTARGETS_OF_EPSORIG) $(PDFTARGETS_OF_
 BIBSOURCES := bib/*.bib alphapf.bst
 
 # required commands
+LATEX_CMD := $(shell which $(LATEX) 2>/dev/null)
 DOT := $(shell which dot 2>/dev/null)
 FIG2EPS := $(shell which fig2eps 2>/dev/null)
 INKSCAPE := $(shell which inkscape 2>/dev/null)
@@ -225,6 +226,9 @@ qqmsg: perfbook.pdf
 	@echo "built as perfbook.pdf."
 
 $(PDFTARGETS): %.pdf: %.tex %.bbl
+ifeq ($(LATEX_CMD),)
+	$(error LaTeX engine "$(LATEX)" not found.)
+endif
 	LATEX=$(LATEX) sh utilities/runlatex.sh $(basename $@)
 
 $(PDFTARGETS:.pdf=.bbl): %.bbl: %.aux $(BIBSOURCES)
@@ -233,6 +237,9 @@ $(PDFTARGETS:.pdf=.bbl): %.bbl: %.aux $(BIBSOURCES)
 $(PDFTARGETS:.pdf=.aux): %.aux: %.tex $(LATEXGENERATED)
 ifeq ($(NEWTXTEXT),)
 	$(error Font package 'newtx' not found. See #9 in FAQ-BUILD.txt)
+endif
+ifeq ($(LATEX_CMD),)
+	$(error LaTeX engine "$(LATEX)" not found.)
 endif
 	LATEX=$(LATEX) sh utilities/runfirstlatex.sh $(basename $@)
 
Signature · 1 line
2.25.1
#6 lore raw

PATCH 6/7 run(first)latex.sh: Catch error exit of LATEX

In reply to Akira Yokosawa

LATEX command can abort in its early stages of execution due to
(1) mis-configuration of TeX Live, (2) regression in TeX Live updates, or (3) missing fonts.
Catch exit code of LATEX command and print the tail of .log when LATEX command aborted.

Also increment the exit code of these script when some error condition is detected in the .log file.

exit code 0: success
exit code 1: remaining warning(s) in .log
exit code 2: error detected in .log
other: exit code from LATEX

---
 utilities/runfirstlatex.sh | 12 +++++++++---
 utilities/runlatex.sh      | 12 +++++++++---
 2 files changed, 18 insertions(+), 6 deletions(-)
utilities/runfirstlatex.sh +9 -3
index f5504f88..b92895f3 100644
@@ -70,7 +70,13 @@ basename=`echo $1 | sed -e 's/\.tex$//'`
 : ${LATEX:-pdflatex}
 
 echo "$LATEX 1 for $basename.pdf"
-$LATEX $LATEX_OPT $basename > /dev/null 2>&1 < /dev/null || :
+$LATEX $LATEX_OPT $basename > /dev/null 2>&1 < /dev/null
+exitcode=$?
+if [ $exitcode -ne 0 ]; then
+	tail -n 20 $basename.log
+	echo "\n!!! $LATEX aborted !!!"
+	exit $exitcode
+fi
 if grep -q 'LaTeX Warning: You have requested' $basename.log
 then
 	grep -A 4 'LaTeX Warning: You have requested' $basename.log
@@ -85,13 +91,13 @@ if grep -q '! Emergency stop.' $basename.log
 then
 	grep -B 15 -A 5 '! Emergency stop.' $basename.log
 	echo "----- Fatal latex error, see $basename.log for details. -----"
-	exit 1
+	exit 2
 fi
 if grep -q '!pdfTeX error:' $basename.log
 then
 	grep -A 2 '!pdfTeX error:' $basename.log
 	echo "----- Fatal latex error, see $basename.log for details. -----"
-	exit 1
+	exit 2
 fi
 grep 'LaTeX Warning:' $basename.log > $basename-warning.log
 touch $basename-first.log
utilities/runlatex.sh +9 -3
index db196ad2..b7d553ab 100644
@@ -76,18 +76,24 @@ iterate_latex () {
 		exit 1
 	fi
 	makeglossaries $basename > /dev/null 2>&1
-	$LATEX $LATEX_OPT $basename > /dev/null 2>&1 < /dev/null || :
+	$LATEX $LATEX_OPT $basename > /dev/null 2>&1 < /dev/null
+	exitcode=$?
+	if [ $exitcode -ne 0 ]; then
+		tail -n 20 $basename.log
+		echo "\n!!! $LATEX aborted !!!"
+		exit $exitcode
+	fi
 	if grep -q '! Emergency stop.' $basename.log
 	then
 		grep -B 15 -A 5 '! Emergency stop.' $basename.log
 		echo "----- Fatal latex error, see $basename.log for details. -----"
-		exit 1
+		exit 2
 	fi
 	if grep -q '!pdfTeX error:' $basename.log
 	then
 		grep -A 2 '!pdfTeX error:' $basename.log
 		echo "----- Fatal latex error, see $basename.log for details. -----"
-		exit 1
+		exit 2
 	fi
 	if test -r $basename-warning.log
 	then
Signature · 1 line
2.25.1
#7 lore raw

PATCH 7/7 runlatex.sh: Align status report messages

In reply to Akira Yokosawa

In parallel builds, status-report messages from different length PDF file names look jagged.

Align those messages by using the "printf" command and left-adjusting the file names in a 19 character field.

Improved messages from later iterations (make -j3 2c 1cnq ebsfnq):

...
pdflatex 3 for perfbook.pdf # remaining undefined refs
pdflatex 3 for perfbook-1cnq.pdf # remaining undefined refs
pdflatex 3 for perfbook-ebsfnq.pdf # remaining undefined refs
pdflatex 4 for perfbook.pdf # label(s) may have changed
pdflatex 4 for perfbook-1cnq.pdf # label(s) may have changed
pdflatex 4 for perfbook-ebsfnq.pdf # label(s) may have changed 'perfbook.pdf' is ready.
'perfbook-1cnq.pdf' is ready.
'perfbook-ebsfnq.pdf' is ready.

---
 utilities/runlatex.sh | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
utilities/runlatex.sh +4 -3
index b7d553ab..d4c9baf8 100644
@@ -110,6 +110,7 @@ then
 fi
 
 basename=`echo $1 | sed -e 's/\.tex$//'`
+pdfname=`env printf "%-19s" $basename.pdf`
 
 if ! test -r $basename-first.log
 then
@@ -118,7 +119,7 @@ then
 	iter=1
 else
 	rm -f $basename-first.log
-	echo "$LATEX 2 for $basename.pdf # for possible bib update"
+	echo "$LATEX 2 for $pdfname # for possible bib update"
 	iter=2
 fi
 iterate_latex
@@ -135,7 +136,7 @@ do
 		break
 	fi
 	iter=`expr $iter + 1`
-	echo "$LATEX $iter for $basename.pdf # remaining undefined refs"
+	echo "$LATEX $iter for $pdfname # remaining undefined refs"
 	undefined_refs=1
 	iterate_latex
 done
@@ -147,7 +148,7 @@ do
 		break
 	fi
 	iter=`expr $iter + 1`
-	echo "$LATEX $iter for $basename.pdf # label(s) may have changed"
+	echo "$LATEX $iter for $pdfname # label(s) may have changed"
 	iterate_latex
 done
 exerpt_warnings
Signature · 1 line
2.25.1
#8 lore raw
In reply to Akira Yokosawa
Quoted 34 lines · Akira Yokosawa

Hi Paul,

Here is a set of updates to build scripts.

Patch 1/7 is to avoid possible build errors when previous build is interrupted in the middle of converting figures with some intermediate temporary eps and/or pdf file(s) left.

Example of such an error (long message not folded):

CodeSamples/datastruct/hash/data/hps.perf.2020.11.26a/zoocatall.eps --> .pdf
make: *** No rule to make target 'CodeSamples/datastruct/hash/data/hps.perf.2020.11.26a/zoocatall__.eps', needed by 'CodeSamples/datastruct/hash/data/hps.perf.2020.11.26a/zoocatall__.pdf'. Stop.

After this type of an error (or errors after a parallel build), one needs to run "make clean" (or "make neatfreak"), and run "make" again.

By adding commands in Makefile to ignore file names of "*__.eps", this mode of error can be avoided.

The added pattern in .gitignore resolves false "Untracked files" from "git status".

Patch 2/7 fixes redundant use of filter-out function in Makefile.

Patch 3/7 updates help texts regarding EBook-size builds in Makefile. They don't need (WIP) anymore.

Patch 4/7 is to allow use of LaTeX commands other than "pdflatex". In vanilla TeX Live, there is an alternative command of "pdflatex-dev", which is used to test development-phase latex implementation. With this change, I am allowed to test it by saying "make LATEX=pdflatex-dev".

Quoted 7 lines

Patch 5/7 is to catch typo in the LATEX variable.

Patch 6/7 catches an error exit of LATEX command and print log messages to the terminal.

Patch 7/7 is a cosmetic tweak improving the later stages of progress reports from parallel builds.

Queued and pushed, thank you!

Thanx, Paul

Quoted 27 lines

Thanks, Akira
--
Akira Yokosawa (7):
Makefile: Ignore temporary .eps files
Makefile: Remove redundant nest of filter-out function
Makefile: Let ebook-size builds graduate from 'WIP' run{first}latex.sh: Use variable for 'pdflatex' command
Makefile: Test $(LATEX) before invoking runfirstlatex.sh run(first)latex.sh: Catch error exit of LATEX runlatex.sh: Align status report messages

 .gitignore                            |   1 +
 Makefile                              |  27 ++++-
 Makefile.2022.01.25                   |   4 +-
 utilities/runfirstlatex.2022.01.25.sh |  98 +++++++++++++++
 utilities/runfirstlatex.sh            |  16 ++-
 utilities/runlatex.2022.01.25.sh      | 164 ++++++++++++++++++++++++++
 utilities/runlatex.sh                 |  23 ++--
 7 files changed, 314 insertions(+), 19 deletions(-)
 create mode 100644 utilities/runfirstlatex.2022.01.25.sh
 create mode 100644 utilities/runlatex.2022.01.25.sh

base-commit: 87d3513257e793b90f53ebd4b138ab2371aaf25c

Signature · 1 line
2.25.1