gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] automake


From: Ian Latter
Subject: Re: [Gluster-devel] automake
Date: Fri, 11 May 2012 08:26:22 +1000

> > You might want to read autobook for the general theory
behind autotools.
> > Here's a quick summary -
> >
> > aclocal prepares the running of autotools.
> > autoheader prepares autotools to generate a config.h to
be consumed by C
> > code
> > configure.ac is the "source" to discover the build
system and accept user
> > parameters
> > autoconf converts configure.ac to configure
> > Makefile.am is the "source" to define what is to be
built and how.
> > automake converts Makefile.am to Makefile.in
> >
> > till here everything is scripted in ./autogen.sh
> >
> > running configure creates Makefile out of Makefile.in
> >
> > now run make :)
> >
> 
> Best way to learn autotools is copy-paste-customize. In
general, if
> you are starting a new project, Debian has a nice little
tool called
> "autoproject". It will auto generate autoconf and automake
files. Then
> you start customizing it.
> 
> GNU project should really merge all these tools in to one
simple
> coherent system.

My build environment is Fedora but I'm assuming its 
there too .. if I get some time I'll have a poke around ..

Thanks for the info, appreciate it.



--
Ian Latter
Late night coder ..
http://midnightcode.org/



reply via email to

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