automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about htmldir


From: Ralf Wildenhues
Subject: Re: question about htmldir
Date: Wed, 3 Sep 2008 22:53:49 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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, address@hidden)
> 
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]