summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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$@ $<