>From 2888aa1bc01c4d87150c7f8cf5dcc9eb7ab47ac4 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sat, 12 May 2018 00:48:35 +0900 Subject: [PATCH 4/9] Makefile: Add 'latexpand' existence check On distributions like Fedora, where texlive packages are finely fragmented, 'latexpand' can be missing. Also remove blank lines in this part of Makefile. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2b2ce2e..336da79 100644 --- a/Makefile +++ b/Makefile @@ -54,13 +54,10 @@ PNGTARGETS_OF_SVG := $(SVG_LARGE_BITMAP:%.svg=%.png) TARGETS_OF_SVG := $(PDFTARGETS_OF_SVG) $(PNGTARGETS_OF_SVG) DOT := $(shell which dot 2>/dev/null) - FIG2EPS := $(shell which fig2eps 2>/dev/null) - A2PING := $(shell which a2ping 2>/dev/null) - INKSCAPE := $(shell which inkscape 2>/dev/null) - +LATEXPAND := $(shell which latexpand 2>/dev/null) URWPS := $(shell fc-list | grep "Nimbus Mono PS" | wc -l) ifeq ($(URWPS),0) @@ -107,6 +104,9 @@ autodate.tex: perfbook.tex $(LATEXSOURCES) $(BIBSOURCES) $(SVGSOURCES) $(FIGSOUR sh utilities/autodate.sh >autodate.tex perfbook_flat.tex: autodate.tex $(PDFTARGETS_OF_EPS) $(TARGETS_OF_SVG) +ifndef LATEXPAND + $(error "--> $@: latexpand not found. Please install it.") +endif echo > qqz.tex echo > contrib.tex echo > origpub.tex -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html