summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8e7ea8a..4eb1d86 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
+all: graph.png
+ pkill -SIGUSR1 -f 'feh (.* )*graph\.png( .*)*'
+
%.in: %.dot
sed "$(shell sed 's/^#DEFINE \(\S\+\) \(.*\)$$/s@\1@\2@g/; t; d' "$<")" "$<" > "$@"
%.png: %.in
dot -Tpng -o$@ $<
-all: graph.png
-
.PHONY: all