]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
maint: fix README-alpha version match.
authorGary V. Vaughan <gary@gnu.org>
Wed, 29 Oct 2014 18:00:32 +0000 (18:00 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 29 Oct 2014 18:06:00 +0000 (18:06 +0000)
With simplified release version numbering (thank you, git!), be
careful to recognize four part alpha versions, or short git
revision suffixed alpha versions correctly.
* Makefile.am (re_odd_version): Remove.
(re_alpha_version): Recognize alpha version numbers.
($(readme)): Adjust accordingly.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Makefile.am

index 7c0c4873db47d2b6032101b97f93e99085c3b742..d9391de7b99cb1f4bbd61ccfe391b5dbaa565014 100644 (file)
@@ -584,9 +584,9 @@ $(dotversion):
 
 ## Edit the README file for alpha releases.
 EXTRA_DIST += $(edit_readme_alpha)
-re_odd_version = '\([0-9][0-9]*.[0-9][0-9]*.[0-9]*[13579]\)'
+re_alpha_version = '\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*[-\.][-\.0-9a-z]*\)'
 $(readme): FORCE
-       @if test -n `expr $(VERSION) : $(re_odd_version)`; then \
+       @if test -n `expr $(VERSION) : $(re_alpha_version)`; then \
          if test 0 = '$(AM_DEFAULT_VERBOSITY)' && test 1 != '$(V)'; \
            then echo "  GEN     " $@; \
          else echo "$(SHELL) $(edit_readme_alpha) $@"; fi; \