[Lemon-commits] [lemon_svn] alpar: r1861 - in hugo/trunk: . doc

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:48:16 CET 2006


Author: alpar
Date: Mon May  2 07:49:33 2005
New Revision: 1861

Modified:
   hugo/trunk/configure.ac
   hugo/trunk/doc/Doxyfile.in
   hugo/trunk/doc/Makefile.am

Log:
Better doc generation.

Modified: hugo/trunk/configure.ac
==============================================================================
--- hugo/trunk/configure.ac	(original)
+++ hugo/trunk/configure.ac	Mon May  2 07:49:33 2005
@@ -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
 

Modified: hugo/trunk/doc/Doxyfile.in
==============================================================================
--- hugo/trunk/doc/Doxyfile.in	(original)
+++ hugo/trunk/doc/Doxyfile.in	Mon May  2 07:49:33 2005
@@ -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').

Modified: hugo/trunk/doc/Makefile.am
==============================================================================
--- hugo/trunk/doc/Makefile.am	(original)
+++ hugo/trunk/doc/Makefile.am	Mon May  2 07:49:33 2005
@@ -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='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx ; do \
+	@dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
 	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
 	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
@@ -37,7 +36,7 @@
 
 uninstall-local: html/index.html
 	@$(NORMAL_UNINSTALL)
-	@dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx ; do \
+	@dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
 	  echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
 	  rm -f $(DESTDIR)$(htmldir)/$$f; \



More information about the Lemon-commits mailing list