Create a graphviz graph of a Makefile.
Project description
A Visualizer for Makefiles
DESCRIPTION
makefile2dot
produces a Graphviz dot
graph from a Makefile. To run it,
install graphviz
and python
. This version runs on python 3.
sudo apt-get install graphviz python
USAGE
makefile2dot
writes to stdout
by default, which can be read in by
graphviz
. So the nice trick is to pipe output from makefile2dot
directly in
to dot
. The Makefile
is read from stdin
to support piping input as well.
Example usage:
makefile2dot <Makefile | dot -Tpng > out.png
Tips
To test this project in the source directoy, add the source directory to the python path:
$ export PYTHONPATH=.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
makefile2dot-0.1.3.tar.gz
(3.4 kB
view hashes)