Skip to content

Commit

Permalink
Fix inkscape version detection macro
Browse files Browse the repository at this point in the history
- Make it compatible with Inkscape 1.1

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
  • Loading branch information
michaelopdenacker authored and tpetazzoni committed Oct 29, 2021
1 parent 17c6288 commit 63d8ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 63d8ee3

Please sign in to comment.