[PATCH -perfbook 3/3] Make sure all PDF conversions are complete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux