automake
[Top][All Lists]
Advanced

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

Put GNU build system files in a subdirectory?


From: Andy Tai
Subject: Put GNU build system files in a subdirectory?
Date: Wed, 24 Apr 2013 17:44:03 -0700

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

-- 
Andy Tai, address@hidden, Skype: licheng.tai
Year 2013 民國102年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能


reply via email to

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