From d3c1125cfda422cd268e12e0e2a18752edbe6b55 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 14 Mar 2012 00:55:59 -0400 Subject: Add dependency graph. --- (limited to 'depgraphs/Makefile') diff --git a/depgraphs/Makefile b/depgraphs/Makefile new file mode 100644 index 0000000..72db2da --- /dev/null +++ b/depgraphs/Makefile @@ -0,0 +1,21 @@ +# Drawing these graphs requires Graphviz. + +.SUFFIXES: +.SUFFIXES: .dot .png + +SRCS = Build-Depends_system_simplified.dot +OBJS = $(SRCS:.dot=.png) + +.PHONY: all +all: $(OBJS) + +$(OBJS): + @printf ' DRAW %s\n' '$@' + @dot -T png -o '$@' '$*.dot' + +.PHONY: clean +clean: + @for obj in $(OBJS); do \ + printf ' RM %s\n' "$${obj}"; \ + rm -f $${obj}; \ + done -- cgit v0.9.1