maint: remove most recursion in automake's own build system
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 Apr 2012 09:48:47 +0000 (11:48 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 5 Apr 2012 18:38:16 +0000 (20:38 +0200)
commita4b0f4b51f8fbf6e5de4ced85b3f7150ec766005
treec556405862dffecd2a6b6310984d58ace743d7bd
parenta64ef3e48066c9a9dbfd65683cb16a62783df4fc
maint: remove most recursion in automake's own build system

Recursive make-based build systems tend to be slower, more fragile
and less faithful than "flat" ones.  See Peter Miller's article
"Recursive Make Considered Harmful" for more a more in-depth
discussion:

    <http://miller.emu.id.au/pmiller/books/rmch/>

While in the case of automake this isn't a big problem (given the
small size of its build systems), it still creates occasional
glitches and annoyances.

With this change, the use of recursion in Automake's own build
system is eliminated *but for the testsuite*.  Converting that
is a little more tricky, and better left for a later change (or
series of changes).

See also commit v1.11-769-gfeeb7f6 of 28-03-2012.

* contrib/Makefile.am, lib/Makefile.am, m4/Makefile.am,
doc/Makefile.am:  Removed, their content merged ...
* Makefile.am: ... here, with required adjustments and few
other "opportunistic" changes.
(SUBDIRS): Update.
* configure.ac (AC_CONFIG_FILES): Likewise.
* .gitignore: Likewise.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
.gitignore
Makefile.am
configure.ac
contrib/Makefile.am [deleted file]
doc/Makefile.am [deleted file]
lib/Makefile.am [deleted file]
m4/Makefile.am [deleted file]