[Top][All Lists]

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

Re: [PATCH] configure: print proper message for test releases

From: Stefano Lattarini
Subject: Re: [PATCH] configure: print proper message for test releases
Date: Thu, 22 Dec 2011 14:09:32 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20111114 Icedove/3.1.16

On 12/10/2011 06:51 PM, Stefano Lattarini wrote:
> Another minor maintenance patch to be applied after the 1.11.2 release.
I've rebased the patch on latest maint, squashed in the fixlet below
(suggested by a more careful reading of HACKING), and pushed to maint.

The updated patch attached, for reference.



  diff --git a/ b/
  index 47a6dfd..d268855 100644
  --- a/
  +++ b/
  @@ -221,12 +221,16 @@ AC_OUTPUT

   # Inform the user if this version of automake is a beta release or
   # a development snapshot.
  +# According to HACKING, the version of a development snapshot should
  +# end with an "odd" letter (a, c, ...), the version of a test release
  +# should end wit an "even" letter (b, d, ...).


   am_release_type=`AS_ECHO(["$PACKAGE_VERSION"]) | LC_ALL=C awk ["
  -  /^$am_version_rx[a-z]$/ { print \"beta version\"; exit(0); }
  -  /^$am_version_rx$/ { print \"stable\"; exit(0); }
  +  /^$am_stable_version_rx$/ { print \"stable\"; exit(0); }
  +  /^$am_beta_version_rx$/ { print \"beta version\"; exit(0); }
     { print \"development snapshot\"; }"]`

   test "$am_release_type" = stable || cat <<EOF

Attachment: 0001-configure-print-proper-message-for-test-releases.patch
Description: Text Data

reply via email to

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