[bootlin/training-materials updates] master: Fix inkscape version detection macro (63d8ee3a)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:38 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/63d8ee3aaebcf78d7d31af580feacd2cd8ebf7d1

>---------------------------------------------------------------

commit 63d8ee3aaebcf78d7d31af580feacd2cd8ebf7d1
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>


>---------------------------------------------------------------

63d8ee3aaebcf78d7d31af580feacd2cd8ebf7d1
 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