diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-04-28 10:21:31 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-04-28 10:38:07 +0200 |
commit | 5f810d0d3ae5ea8937566a4f6e62b1dd024253b8 (patch) | |
tree | 873dff779931d251c8818abfb574de40e11bfd88 /HACKING | |
parent | 8ea72c74515c921196abcc99dbbcd9db8bd1c060 (diff) | |
download | automake-5f810d0d3ae5ea8937566a4f6e62b1dd024253b8.tar.gz |
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>
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -96,7 +96,7 @@ = Working with git * To regenerate dependent files created by aclocal and automake, - use the 'bootstrap' script. It uses the code from the source + use the 'bootstrap.sh' script. It uses the code from the source tree, so the resulting files (aclocal.m4 and Makefile.in) should be the same as you would get if you install this version of automake and use it to generate those files. Be sure to have the @@ -231,7 +231,7 @@ distinguish net and repo versions.) * Run this: - ./bootstrap && ./configure && make && make check && make distcheck + ./bootstrap.sh && ./configure && make && make check && make distcheck * Run "make git-tag-release". This will run the maintainer checks, check that the NEWS file is @@ -248,7 +248,7 @@ use "make GNUPLOADFLAGS='--user KEY' git-upload-release". * Update version number in configure.ac to next alpha number. - Re-run ./bootstrap and commit. + Re-run ./bootstrap.sh and commit. * Don't forget to "git push" your changes so they appear in the public git tree. |