- added a SIMPLIFYDEPS variable to change its location
METAS/META.helm-%: METAS/meta.helm-%.src
cp $< $@ && echo "directory=\"$(shell pwd)/$*\"" >> $@
+SIMPLIFYDEPS = ../daemons/graphs/tools/simplify_deps/simplify_deps
+$(SIMPLIFYDEPS):
+ $(MAKE) -C $(dir $(SIMPLIFYDEPS))
+
.PHONY: .dep.dot
-.dep.dot:
+.dep.dot: $(SIMPLIFYDEPS)
echo "digraph G {" > $@
echo " rankdir = TB ;" >> $@
for i in $(MODULES); do $(OCAMLFIND) query helm-$$i -recursive -p-format | grep helm | sed "s/^helm-/ \"$$i\" -> \"/g" | sed "s/$$/\";/g" >> $@ ; done
- mv $@ $@.old ; ./simplify_deps/simplify_deps.opt < $@.old > $@ ; rm $@.old
+ mv $@ $@.old ; $(SIMPLIFYDEPS) < $@.old > $@ ; rm $@.old
echo "}" >> $@
.PHONY: .alldep.dot