# HG changeset patch # User alpar # Date 1115012973 0 # Node ID d12508c2a00718a741abbb0e088c99cb592cbb58 # Parent d3ae1f06843d73e4458fa625aa43de78dc66a0aa Better doc generation. diff -r d3ae1f06843d -r d12508c2a007 configure.ac --- a/configure.ac Fri Apr 29 13:31:41 2005 +0000 +++ b/configure.ac Mon May 02 05:49:33 2005 +0000 @@ -20,6 +20,8 @@ CXXFLAGS="$CXXFLAGS -Wall -W" fi +AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no]) + dnl This is tested only with gcc-3.4 and icc-8.0 dnl LX_SET_CXXFLAGS diff -r d3ae1f06843d -r d12508c2a007 doc/Doxyfile.in --- a/doc/Doxyfile.in Fri Apr 29 13:31:41 2005 +0000 +++ b/doc/Doxyfile.in Mon May 02 05:49:33 2005 +0000 @@ -1030,12 +1030,12 @@ # If a tag file is not located in the directory in which doxygen # is run, you must also specify the path to the tagfile here. -TAGFILES = +TAGFILES = "libstdc++.tag = http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" # When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. -GENERATE_TAGFILE = +GENERATE_TAGFILE = html/lemon.tag # If the ALLEXTERNALS tag is set to YES all external classes will be listed # in the class index. If set to NO only the inherited external classes @@ -1047,7 +1047,7 @@ # in the modules index. If set to NO, only the current project's groups will # be listed. -EXTERNAL_GROUPS = YES +EXTERNAL_GROUPS = NO # The PERL_PATH should be the absolute path and name of the perl script # interpreter (i.e. the result of `which perl'). diff -r d3ae1f06843d -r d12508c2a007 doc/Makefile.am --- a/doc/Makefile.am Fri Apr 29 13:31:41 2005 +0000 +++ b/doc/Makefile.am Mon May 02 05:49:33 2005 +0000 @@ -16,8 +16,7 @@ ## TODO: 'html/index.html' should depend on the files listed in Doxyfile's ## INPUT variable. html/index.html: - -rm -rf html - doxygen Doxyfile + if test ${doxygen_found} = yes; then doxygen Doxyfile; fi ## This is needed to make 'make dist' work even if the 'html' subdirectory ## does not exist. @@ -29,7 +28,7 @@ install-data-local: html/index.html @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(htmldir) - @dir='$(