[Top][All Lists]

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

Re: Autoconf and doxygen outside source directory

From: Eric Blake
Subject: Re: Autoconf and doxygen outside source directory
Date: Tue, 12 Nov 2013 08:56:52 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 11/07/2013 06:54 PM, dave wrote:
> Hello;
> I need to include doxygen into a autoconf / automake project. Here is my
> problem. The problem is this project uses a fresh build directory
> outside the source. You call the configure outside to set up the files
> and compile. I need to get doxygen to scan the source folder and run
> doxygen and then make the html outputs.
> How do I tell doxygen where the source folder is and then get it to work
> on those files and then output to the new source folder?

Autoconf provides several useful variables; which automake then exposes.
 $(abs_builddir) and $(builddir) correspond to the folder where make is
running and where you want your output to go, while $(abs_srcdir) and
$(srcdir) correspond to the source folder.

How would you solve the problem if you were just using straight shell?
Once you have that solution in mind, then rewrite it into your using the automatic variables mentioned above.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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