summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2023-10-13 23:42:31 +0900
committerPaul E. McKenney <paulmck@kernel.org>2023-10-13 16:38:21 -0700
commita01629a5f734b7617ee0ac4d4ded28b0605cf7cd (patch)
tree0c6c408f43926908b08f85bf5e870e4a9e77f7d5
parentc084237613eae98068aaf723b3f6d94014fcd711 (diff)
downloadperfbook-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--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6e220c2d..3875c52b 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