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 <[email protected]>
---
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 6e220c2db524..3875c52b1570 100644
--- a/Makefile
+++ b/Makefile
@@ -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
--
2.25.1