Better doc generation.
1.1 --- a/configure.ac Fri Apr 29 13:31:41 2005 +0000
1.2 +++ b/configure.ac Mon May 02 05:49:33 2005 +0000
1.3 @@ -20,6 +20,8 @@
1.4 CXXFLAGS="$CXXFLAGS -Wall -W"
1.5 fi
1.6
1.7 +AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
1.8 +
1.9 dnl This is tested only with gcc-3.4 and icc-8.0
1.10 dnl LX_SET_CXXFLAGS
1.11
2.1 --- a/doc/Doxyfile.in Fri Apr 29 13:31:41 2005 +0000
2.2 +++ b/doc/Doxyfile.in Mon May 02 05:49:33 2005 +0000
2.3 @@ -1030,12 +1030,12 @@
2.4 # If a tag file is not located in the directory in which doxygen
2.5 # is run, you must also specify the path to the tagfile here.
2.6
2.7 -TAGFILES =
2.8 +TAGFILES = "libstdc++.tag = http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/"
2.9
2.10 # When a file name is specified after GENERATE_TAGFILE, doxygen will create
2.11 # a tag file that is based on the input files it reads.
2.12
2.13 -GENERATE_TAGFILE =
2.14 +GENERATE_TAGFILE = html/lemon.tag
2.15
2.16 # If the ALLEXTERNALS tag is set to YES all external classes will be listed
2.17 # in the class index. If set to NO only the inherited external classes
2.18 @@ -1047,7 +1047,7 @@
2.19 # in the modules index. If set to NO, only the current project's groups will
2.20 # be listed.
2.21
2.22 -EXTERNAL_GROUPS = YES
2.23 +EXTERNAL_GROUPS = NO
2.24
2.25 # The PERL_PATH should be the absolute path and name of the perl script
2.26 # interpreter (i.e. the result of `which perl').
3.1 --- a/doc/Makefile.am Fri Apr 29 13:31:41 2005 +0000
3.2 +++ b/doc/Makefile.am Mon May 02 05:49:33 2005 +0000
3.3 @@ -16,8 +16,7 @@
3.4 ## TODO: 'html/index.html' should depend on the files listed in Doxyfile's
3.5 ## INPUT variable.
3.6 html/index.html:
3.7 - -rm -rf html
3.8 - doxygen Doxyfile
3.9 + if test ${doxygen_found} = yes; then doxygen Doxyfile; fi
3.10
3.11 ## This is needed to make 'make dist' work even if the 'html' subdirectory
3.12 ## does not exist.
3.13 @@ -29,7 +28,7 @@
3.14 install-data-local: html/index.html
3.15 @$(NORMAL_INSTALL)
3.16 $(mkinstalldirs) $(DESTDIR)$(htmldir)
3.17 - @dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx ; do \
3.18 + @dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
3.19 f="`echo $$p | sed -e 's|^.*/||'`"; \
3.20 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
3.21 $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
3.22 @@ -37,7 +36,7 @@
3.23
3.24 uninstall-local: html/index.html
3.25 @$(NORMAL_UNINSTALL)
3.26 - @dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx ; do \
3.27 + @dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
3.28 f="`echo $$p | sed -e 's|^.*/||'`"; \
3.29 echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
3.30 rm -f $(DESTDIR)$(htmldir)/$$f; \