Hi Jim,

Gary V. Vaughan wrote:
> >> Running the (potentially) outdated configure, to build a (potentially)
> >> outdated Makefile, which may very well rerun aclocal, automake, autoconf
> >> etc just to call the maintainer-clean rule, and then blow it all away
> >> in the next step with a bootstrap seems odd and torturous to me.
> > 
> > The above may be a little wasteful.  But it is reliable and turn-key.
> 
> No it isn't.

I'm with Gary on this point.

How about these steps?

  make -k maintainer-clean # Clean up previous build artefacts
  ./configure
  make maintainer-clean    # Clean up previous build artefacts
  git checkout master
  git pull origin master   # don't try (perhaps fail) to pull other branches
  ./bootstrap              # rerun autotools explicitly on latest sources
  ./configure              # regenerate Makefile explicitly -"-   -"-

Doing the "make maintainer-clean" with the old Makefiles is the most
reliable you can do.

Now this sequence takes a little more time than what you proposed, Jim.
But it's only needed once before the release. You don't object to the
time it takes to run "make distcheck" either.

Bruno
-- 
In memoriam Nunilo and Alodia <http://en.wikipedia.org/wiki/Nunilo_and_Alodia>

Reply via email to