Mercurial > gnulib
changeset 37218:8c1e22b8d2bf
maint.mk: fix "release" target to build _version
This fixes a bug in README-release whereby following the outlined
steps, one would publish a tarball whose programs would report
--version output not consistent with the package version number.
This bug caused grep-2.15 to produce a grep program whose
--version option made it print 2.14.56-1e3d rather than 2.15.
* top/maint.mk (release): Making this target build "_version"
ensures that the new version number is reflected in configure.
author | Jim Meyering <meyering@fb.com> |
---|---|
date | Sat, 26 Oct 2013 19:26:13 -0700 |
parents | 5c0d73975115 |
children | 2cfba752ab3d |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Oct 27 14:08:08 2013 +1300 +++ b/ChangeLog Sat Oct 26 19:26:13 2013 -0700 @@ -1,3 +1,14 @@ +2013-10-26 Jim Meyering <meyering@fb.com> + + maint.mk: fix "release" target to build _version + This fixes a bug in README-release whereby following the outlined + steps, one would publish a tarball whose programs would report + --version output not consistent with the package version number. + This bug caused grep-2.15 to produce a grep program whose + --version option made it print 2.14.56-1e3d rather than 2.15. + * top/maint.mk (release): Making this target build "_version" + ensures that the new version number is reflected in configure. + 2013-10-21 Ben Pfaff <blp@cs.stanford.edu> install-reloc: Support multi-binary installation.
--- a/top/maint.mk Sun Oct 27 14:08:08 2013 +1300 +++ b/top/maint.mk Sat Oct 26 19:26:13 2013 -0700 @@ -1424,6 +1424,7 @@ $(AM_V_at)$(MAKE) -s emit_upload_commands RELEASE_TYPE=$@ release: + $(AM_V_GEN)$(MAKE) _version $(AM_V_GEN)$(MAKE) $(release-type) # Override this in cfg.mk if you follow different procedures.