From 67d2b65c3993eb5dbb86524bd855f21525b3b098 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 3 Aug 2023 21:53:55 +0200 Subject: [PATCH] Fix definition of SEDSCRIPT for macOS macOS comes with GNU Make 3.81 which does not work with the the old definition, so use a more portable one. Signed-off-by: Stefan Weil --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 03863f3..180f597 100644 --- a/Makefile +++ b/Makefile @@ -106,11 +106,9 @@ xslt: vendor # Install ocr-fileformat define SEDSCRIPT -cat <<"EOF" -/^SHAREDIR=/c\ -SHAREDIR="$(SHAREDIR)" -s/VERSION/$(VERSION)/ -EOF +echo '/^SHAREDIR=/c\' +echo 'SHAREDIR="$(SHAREDIR)"' +echo 's/VERSION/$(VERSION)/' endef export SEDSCRIPT install: all