Build doxygen pictures with libgd to reduce their size.

Doxygen only knows how to call dot with -Tpng, while using
-Tpng:gd produces pictures that are 10 times smaller.  Use a
simple wrapper around dot to simplify this.

* doc/dot.in: New file, that wrap the system's dot and replace
-Tpng by -Tpng:gd.
* doc/Makefile.am ($(srcdir)/stamp): Depend on dot.
* doc/Doxyfile.in: Update to 1.6.2.
(DOT_PATH): Set to @srcdir@ to use doc/dot instead of the
system's dot.
* configure.ac: Find the absolute path of dot, and generate
the doc/dot script.
This commit is contained in:
Alexandre Duret-Lutz 2010-01-31 18:47:41 +01:00
parent c63923fa1a
commit 5b87fa628d
5 changed files with 305 additions and 56 deletions

View file

@ -34,7 +34,7 @@ fast-doc:
$(DOXYGEN)
touch $(srcdir)/stamp
$(srcdir)/stamp: $(srcdir)/Doxyfile.in $(top_srcdir)/configure.ac
$(srcdir)/stamp: $(srcdir)/Doxyfile.in $(top_srcdir)/configure.ac dot
$(MAKE) Doxyfile
-rm -rf spot.html spot.latex
$(DOXYGEN)