From 02e9c9fc41158e3d3f9b9b653c953a6704008248 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 12 Feb 2004 11:48:33 +0000 Subject: [PATCH] Added new target libraries-complete.ps (with also all the external dependencies). --- helm/ocaml/Makefile.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/helm/ocaml/Makefile.in b/helm/ocaml/Makefile.in index a2cb5f278..0fb6d927a 100644 --- a/helm/ocaml/Makefile.in +++ b/helm/ocaml/Makefile.in @@ -69,5 +69,17 @@ METAS/META.helm-%: METAS/meta.helm-%.src mv $@ $@.old ; ./simplify_deps/simplify_deps.opt < $@.old > $@ ; rm $@.old echo "}" >> $@ +.PHONY: .alldep.dot +.alldep.dot: + echo "digraph G {" > $@ + echo " rankdir = TB ;" >> $@ + for i in $(MODULES); do ocamlfind query helm-$$i -recursive -p-format | sed "s/^/ \"helm-$$i\" -> \"/g" | sed "s/$$/\";/g" >> $@ ; done + mv $@ $@.old ; ./simplify_deps/simplify_deps.opt < $@.old > $@ ; rm $@.old + echo "}" >> $@ + + libraries.ps: .dep.dot dot -Tps -o $@ $< + +libraries-complete.ps: .alldep.dot + dot -Tps -o $@ $< -- 2.39.2