[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Put GNU build system files in a subdirectory?
From: |
Eric Blake |
Subject: |
Re: Put GNU build system files in a subdirectory? |
Date: |
Wed, 24 Apr 2013 18:52:32 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 |
On 04/24/2013 06:44 PM, Andy Tai wrote:
> The GNU Build system is generally set up such that the Makefile.am,
> configure.ac, etc. files are in the root directory of a software project.
> Is there a way to place these files in a subdirectory of the root
> directory, like this as an example:
>
> ./
> README
> COPYING
> GNUBuild/
> Makefile.am
> configure
> ...
> include/
> src/
>
> ...
>
>
> This may mean the user has to run configure from the subdirectory GNUBuild
> as the initial step. But the good thing is that this makes the source
> files and build files separate and allows co-existence of different build
> system support.. for example, CMake's CMakefile.txt can coexist with GNU
> build files in a clean fashion
Sounds like you are asking a similar question to this:
https://lists.gnu.org/archive/html/automake/2013-04/msg00014.html
with this answer of no (which really means: if YOU write the patches and
prove that they are worth maintaining, then it could be added in the
future, but no one else is interested in this unusual setup):
https://lists.gnu.org/archive/html/automake/2013-04/msg00021.html
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature