summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-03 13:42:29 +0100
committerErich Eckner <git@eckner.net>2020-03-03 13:42:29 +0100
commit6f5ca67d043d2de23e323f31110625be4137ebc0 (patch)
treed5ac99f18b8f91b04bd9209a3938240e10f958cc
parent9ed9409759167f13c268125a1a4989cc53524d5b (diff)
downloadRechner-6f5ca67d043d2de23e323f31110625be4137ebc0.tar.xz
Makefile: repair sed
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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$@ $<