Ralf, Thanks. I have removed my own htmldir definition, and it works now.
Thanks, > Date: Wed, 3 Sep 2008 22:53:49 +0200 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: automake@gnu.org > Subject: Re: question about htmldir > > Hello Susan, > > * susan xie wrote on Wed, Sep 03, 2008 at 10:05:59PM CEST: > > When I use automake command, I got the following error message: > > > > automake > > doc/Makefile.am:12: htmldir was already defined in condition TRUE, which > > includes condition DOXYGEN ... > > configure.ac:5: ... `htmldir' previously defined here > > > > > > But in configure.ac:5 (line): A C_INIT(SOFT, 1.0, [EMAIL PROTECTED]) > > > > May you give me any hints on this problem? > > With Autoconf version 2.60 or newer, htmldir is already predefined by > Autoconf. It's really the AC_INIT code that predefines it. The NEWS > file of the Autoconf source distribution mentions this, and the manual > lists it here: > <http://www.gnu.org/software/autoconf/manual/html_node/Installation-Directory-Variables.html> > > Here's what you can do: > - ignore the warning or hide it by passing -Wno-override to automake > (by adding it to AUTOMAKE_OPTIONS in doc/Makefile.am for example) > - not using your own definition of htmldir any more with new Autoconf > (you should check if Autoconf's setting and yours are compatible) > - use a different directory variable (html2dir, doxgenhtmldir, together > with doxgenhtml_DATA or so...) > > Hope that helps. > > Cheers, > Ralf _________________________________________________________________ See how Windows connects the people, information, and fun that are part of your life. http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/