bootstrap: add convenience make target
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 27 Apr 2012 16:48:27 +0000 (18:48 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 27 Apr 2012 21:37:49 +0000 (23:37 +0200)
commit56badcd480c91e73e3a7f56beed80e0ebe566eab
treef5021fade5194e21173b401f65371cbd59ad725e
parentb99b5be0d88d69698f71a5cc85d841c9816f3031
bootstrap: add convenience make target

Dependencies in the Automake build system are not completely specified
(see for example the commit log of recent commit 'v1.12-10-gab14841',
"build: avoid too greedy rebuilds in the testsuite").  In fact, some of
them cannot even be; for example, Makefile is generated at configure
time from Makefile.in, which should be regenerated by our bleeding-edge
automake script, which is generated by out Makefile -- specifying the
complete chain of dependencies here would bring to a circular dependency
issue.

For this reason, before testing or deploying a change, we are often
forced to perform a full re-bootstrap of the Automake package, to ensure
all our files are actually up-to-date.  Until now, this has to be done
manually, thus causing wasted keystrokes and more possibilities of error.

With this change, we introduce a new 'bootstrap' make target to
automatize all the (easy) steps of this re-bootstrapping (plus some
minor bells & whistles since we are at it).

* GNUmakefile: Rewrite to allow an easy bootstrapping and clean rebuild
of the whole package, in particular with the help of ...
(bootstrap): ...  this new target.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
GNUmakefile