[bootlin/training-materials updates] master: Fix inkscape version detection macro (d1998fbe)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed May 26 16:05:54 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/d1998fbe05d452899c3210573a2d1209019a2422
>---------------------------------------------------------------
commit d1998fbe05d452899c3210573a2d1209019a2422
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed May 26 16:05:24 2021 +0200
Fix inkscape version detection macro
- Make it compatible with Inkscape 1.1
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
d1998fbe05d452899c3210573a2d1209019a2422
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 4095aec8..7f04193f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ PDFLATEX = xelatex
DIA = dia
EPSTOPDF = epstopdf
-INKSCAPE_IS_NEW = $(shell inkscape --version | grep -q "^Inkscape 1.0" && echo YES)
+INKSCAPE_IS_NEW = $(shell inkscape --version | grep -q "^Inkscape 1" && echo YES)
ifeq ($(INKSCAPE_IS_NEW),YES)
INKSCAPE_PDF_OPT = -o
More information about the training-materials-updates
mailing list