From e3fedb5c2bc7536c44ea83c2f38d615a61ed5594 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 16 Apr 2021 17:00:07 +0100 Subject: [PATCH] Makefile: Quieten inkscape message by default Signed-off-by: Ian Jackson --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4c35aa00..8eeef04b 100644 --- a/Makefile +++ b/Makefile @@ -54,9 +54,10 @@ SPHINXBUILD = sphinx-build ifndef INKSCAPE_EXTENSIONS INKSCAPE ?= inkscape +INKSCAPE_SDD_QUIETEN ?= 2>/dev/null # 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 $(INKSCAPE_SDD_QUIETEN) ) && echo "$$sdd/extensions"; } || $(INKSCAPE) --extension-directory ) endif RECOLOUR_SVG ?= ./run-inkscape-extension $(INKSCAPE_EXTENSIONS)/color_replace.py -- 2.30.2