bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] README-release improvements


From: Bruno Haible
Subject: Re: [PATCH] README-release improvements
Date: Sat, 22 Oct 2011 13:46:40 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

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

[Prev in Thread] Current Thread [Next in Thread]