From: Ian Jackson Date: Fri, 16 Apr 2021 16:00:07 +0000 (+0100) Subject: Makefile: Quieten inkscape message by default X-Git-Tag: otter-0.5.0~32 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e3fedb5c2bc7536c44ea83c2f38d615a61ed5594;p=otter.git Makefile: Quieten inkscape message by default Signed-off-by: Ian Jackson --- 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