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.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for makefile2dot-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fedbf93339ea213677e9ba9d267c99ce9fa5ccff1c02f4b3a4edaa964efce34 |
|
MD5 | e12d7af0abf4ec0d5fb3388fc889650d |
|
BLAKE2b-256 | c5491fde7e1f0ec6219d4e9da7db4b34c9bc532116a6e798993363aca232f98a |