Build script updates
Status from this message: Queued and pushed, thank you!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Makefile: Ignore temporary .eps files.gitignore Makefile | +10 | 0 replies | |
| 2/7 | Makefile: Remove redundant nest of filter-out functionMakefile | +1 | 0 replies | |
| 3/7 | Makefile: Let ebook-size builds graduate from 'WIP'Makefile | +2 | 0 replies | |
| 4/7 | run{first}latex.sh: Use variable for 'pdflatex' commandMakefile Makefile.2022.01.25 utilities/ +3 more | +278 | 0 replies | |
| 5/7 | Makefile: Test $(LATEX) before invoking runfirstlatex.shMakefile | +7 | 0 replies | |
| 6/7 | run(first)latex.sh: Catch error exit of LATEXutilities/ utilities/ | +18 | 0 replies | |
| 7/7 | runlatex.sh: Align status report messagesutilities/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -perfbook 0/7] 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