From 6f5ca67d043d2de23e323f31110625be4137ebc0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 3 Mar 2020 13:42:29 +0100 Subject: Makefile: repair sed --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ffdc43c..ee488b4 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: graph.png pkill -SIGUSR1 -f 'feh (.* )*graph\.png( .*)*' || true %.in: %.dot - sed "$(shell sed 's/^#DEFINE \(\S\+\) \(.*\)$$/s@\1@\2@g/; t; d' "$<")" "$<" > "$@" + sed "$(shell sed 's/^#DEFINE \(\S\+\) \(.*\)$$/s@\\b\1\\b@\2@g;/; t; d' "$<")" "$<" > "$@" %.png: %.in dot -Tpng -o$@ $< -- cgit v1.2.3-70-g09d2