diff options
author | Akira Yokosawa <akiyks@gmail.com> | 2023-10-13 23:42:31 +0900 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-10-13 16:38:21 -0700 |
commit | a01629a5f734b7617ee0ac4d4ded28b0605cf7cd (patch) | |
tree | 0c6c408f43926908b08f85bf5e870e4a9e77f7d5 | |
parent | c084237613eae98068aaf723b3f6d94014fcd711 (diff) | |
download | perfbook-a01629a5f734b7617ee0ac4d4ded28b0605cf7cd.tar.gz |
Make sure all PDF conversions are complete
Crashes of Inkscape can disturb parallel runs of SVG --> PDF conversions.
Add a sub-make run of "make -j1 figs" in the early stage of latex
run to make sure any missing PDF figures can be prepared in time.
Note:
If GNUmake's dependency check is perfect, when there were any
missing PDF files remaining, the recipe of autodate.tex shouldn't
run. Unfortunately, it looks like that is not the case.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -267,6 +267,10 @@ endif autodate.tex: $(LATEXSOURCES) $(BIBSOURCES) $(LST_SOURCES) \ $(PDFTARGETS_OF_EPS) $(PDFTARGETS_OF_SVG) $(FCVSNIPPETS) $(FCVSNIPPETS_VIA_LTMS) \ $(GITREFSTAGS) utilities/autodate.sh +ifneq ($(IGNORE_INKSCAPE_ERROR),0) + # Make sure all SVG --> PDF conversions are complete + $(MAKE) -j1 figs +endif sh utilities/autodate.sh perfbook_flat.tex: autodate.tex |