build: break up monolithic Makefile.am in subdir-specific fragments
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 9 May 2013 09:17:47 +0000 (11:17 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 9 May 2013 09:17:47 +0000 (11:17 +0200)
commitc8f106c772e608b25aa6a3aa8eeeb0119e097ab2
treeb920b5acc653a716b5ef84b461d79fd022c278f2
parent1667d369091fe41d2bbdf645490a29d45142556f
build: break up monolithic Makefile.am in subdir-specific fragments

This is convenient to do, now that we have improved "relative directory"
support with the '%reladir%' (a.k.a. '%D%') and '%canon_reladir%' (a.k.a.
'%C%') Automake-time substitutions for included makefile fragments.

This move also satisfy our philosophy of using new Automake features in
our own build system, as a way of facilitating early discovery of possible
bugs or interface warts.

* Makefile.am: Break up ...
* doc/Makefile.inc, lib/Automake/Makefile.inc, lib/Makefile.inc,
lib/am/Makefile.inc, m4/Makefile.inc, t/Makefile.inc): ... in this
new included fragments.  Adjust as needed, and make deliberate use
of the '%D%' substitution.
* contrib/t/local.am: Rename ...
* contrib/t/Makefile.inc: ... like this.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Makefile.am
contrib/t/Makefile.inc [new file with mode: 0644]
contrib/t/local.am [deleted file]
doc/Makefile.inc [new file with mode: 0644]
lib/Automake/Makefile.inc [new file with mode: 0644]
lib/Makefile.inc [new file with mode: 0644]
lib/am/Makefile.inc [new file with mode: 0644]
m4/Makefile.inc [new file with mode: 0644]
t/Makefile.inc [new file with mode: 0644]