chiark / gitweb /
Makefile: Go back to use of $(INKSCAPE)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 16 Apr 2021 14:55:07 +0000 (15:55 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 16 Apr 2021 14:55:07 +0000 (15:55 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index fa09d22b8fb2ceb2b35e2d84846de3196fc9ec07..20b48769e5c71f2654f5f059930021c06ccb87d0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ ifndef INKSCAPE_EXTENSIONS
 INKSCAPE ?= inkscape
 # inkscape 0.92.4: --extension-directory works, no --system-data-directory
 # inkscape 1.0.2: --system-data-directory, no --extension-directory
-INKSCAPE_EXTENSIONS := $(shell set -e; { sdd=$$( inkscape --system-data-directory ) && echo "$$sdd/extensions"; } || inkscape --extension-directory )
+INKSCAPE_EXTENSIONS := $(shell set -e; { sdd=$$( $(INKSCAPE) --system-data-directory ) && echo "$$sdd/extensions"; } || $(INKSCAPE) --extension-directory )
 endif
 RECOLOUR_SVG ?= $(INKSCAPE_EXTENSIONS)/color_replace.py