Denis Hennessy <dhennessy at gmail.com> writes:
> Graphviz is a very useful tool for taking simple textual descriptions
> of pictures and rendering them into various graphics formats.
> GraphViz::Makefile is a perl module to generate those textual file (in
> .DOT format) from a regular makefile.
>> Google should find both for you (I don't have the links to hand).
Thanks Denis, that looks like a very powerful approach, and one
that would do exactly what I want. I've also been pointed to
http://www.cpan.org/authors/id/T/TH/THEDEVIL/makedot-20051210
(google for message-id
mailman.18673.1134197854.20277.help-gnu-emacs at gnu.org in
news:gnu.emacs.help), which processes make -p output.
Over the weekend, I hacked a little emacs-lisp to read targets and
dependencies and write them into a lisp tree, from which it is easy
to construct LaTeX code (using the qtree.sty package). A tree isn't
necessarily the only way to represent the dependencies (e.g. A can
depend on B and C, while B depends on C and D) but it is useful.
Having a rough and ready solution, maybe I should get back to work!
Regards,
Brendan
--
Brendan Halpin, Department of Sociology, University of Limerick, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F2-025 x 3147
mailto:brendan.halpin at ul.iehttp://www.ul.ie/sociology/brendan.halpin.html
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!