maint.mk: get current gnulib revision correctly.
authorGary V. Vaughan <gary@gnu.org>
Sun, 27 Oct 2013 01:08:08 +0000 (14:08 +1300)
committerGary V. Vaughan <gary@gnu.org>
Sun, 27 Oct 2013 01:08:08 +0000 (14:08 +1300)
* top/maint.mk (gnulib-version): Use git rev-parse to get the
current HEAD revision.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
top/maint.mk

index c1b786f..c9f8cc8 100644 (file)
@@ -1283,7 +1283,7 @@ vc-diff-check:
 rel-files = $(DIST_ARCHIVES)
 
 gnulib_dir ?= $(srcdir)/gnulib
-gnulib-version = $$(cd $(gnulib_dir) && git describe)
+gnulib-version = $$(cd $(gnulib_dir) && git rev-parse --short HEAD)
 bootstrap-tools ?= autoconf,automake,gnulib
 
 # If it's not already specified, derive the GPG key ID from