Add graphviz files

This commit is contained in:
2022-02-13 17:40:43 +01:00
parent c498cf79e6
commit 44e4fa4937
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
GRAPHVIZ_PDFS:=$(patsubst %.dot,%.pdf,$(wildcard *.dot))
.PHONY: all clean
all: ${GRAPHVIZ_PDFS}
%.pdf: %.svg
inkscape $< --export-area-drawing --batch-process --export-type=pdf --export-filename=$@
%.svg: %.dot
dot -Tsvg -o $@ $<
clean:
rm -rf ${GRAPHVIZ_PDFS}