summaryrefslogtreecommitdiff
path: root/chapter11/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chapter11/docs/Makefile')
-rw-r--r--chapter11/docs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/chapter11/docs/Makefile b/chapter11/docs/Makefile
index 12659b8f..055882b2 100644
--- a/chapter11/docs/Makefile
+++ b/chapter11/docs/Makefile
@@ -1,11 +1,13 @@
GV := $(wildcard *.gv)
SVG := $(patsubst %.gv,%.svg,$(GV))
+.DELETE_ON_ERROR:
.PHONY: all
all: $(SVG)
%.svg: %.gv
dot -Tsvg $< > $@
+ @sed -i 's/\r$$//' $@
.PHONY: clean
clean: