fixup: avoid unconditional re-bootstrapping on "make dist"
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 28 Apr 2012 08:21:31 +0000 (10:21 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 28 Apr 2012 08:38:07 +0000 (10:38 +0200)
commit5f810d0d3ae5ea8937566a4f6e62b1dd024253b8
tree873dff779931d251c8818abfb574de40e11bfd88
parent8ea72c74515c921196abcc99dbbcd9db8bd1c060
fixup: avoid unconditional re-bootstrapping on "make dist"

Since our 'bootstrap' script is distributed, the 'distdir' target depends
on it.  But in our GNUmakefile, we also have a 'bootstrap' target declared
.PHONY, which when called re-bootstrap the Automake distribution.  Thus,
whenever we run "make dist", GNU make sees it must remake the 'bootstrap'
target (as it is a dependency of the 'distdir' target), and thus ends up
re-bootstrapping all the package (because of the .PHONY 'bootstrap' target
in GNUmakefile).

We fix this issue by renaming our bootstrap script to 'bootstrap.sh'.

* bootstrap: Renamed ...
* bootstrap.sh: ... to this.
* GNUmakefile (bootstrap): Adjust.
* Makefile.am (EXTRA_DIST): Likewise.
(autodiffs): Likewise.
* HACKING: Likewise.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
GNUmakefile
HACKING
Makefile.am
bootstrap.sh [moved from bootstrap with 100% similarity]