by vasvir · 4y ago · 0 comments
I use it like this from inside the Makefile:
make-db.png:
make -f $(MAKEFILE) -Bnd | sed -e 's,$(MAKEDIR)/,,g' | make2graph | dot -Tpng -o $@
but with some gymnastics in order to remove very long path names (MAKEDIR) can be used from the shell directly.