diff options
author | Akira Yokosawa <akiyks@gmail.com> | 2024-01-05 18:53:21 +0900 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2024-01-07 13:36:29 -0800 |
commit | c26b747cb01ce125e72c72ac317fbf4f828f39db (patch) | |
tree | 07301a358c16f3f0228632ae1251e8d505866eb1 | |
parent | a40ad326ea2245439fc3464d167e64dbc05a6813 (diff) | |
download | perfbook-c26b747cb01ce125e72c72ac317fbf4f828f39db.tar.gz |
Makefile: Use rsvg-convert anyway if no inkscape is found
Even if rsvg-convert is too young and its SVG --> PDF conversion
sometimes results in poor-looking figures, using it is much better
than giving up the conversion at all.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -126,6 +126,9 @@ ifdef RSVG_CONVERT ifeq ($(RSVG_CONVERT_ACCEPTABLE),1) RSVG_CONVERT_GOOD := 1 endif + ifndef INKSCAPE + RSVG_CONVERT_GOOD := 1 + endif RSVG_CONVERT_PDFFMT := $(shell echo $(RSVG_CONVERT_VER_MINOR) $(RSVG_CONVERT_PDFFMT_VER) | awk '{if ($$1 >= $$2) print 1;}') ifeq ($(RSVG_CONVERT_GOOD),1) SVG_PDF_CONVERTER = (rsvg-convert v$(RSVG_CONVERT_VER)) |