Mercurial > gnulib
diff top/maint.mk @ 16554:dad9ad605e56
maint.mk: allow announcement for non-gnulib project
Currently, autoconf does not use a gnulib submodule; this
tripped up the 'make beta' with:
announce-gen: when specifying gnulib as a tool, you must also specify
--gnulib-version=V, where V is the result of running git describe
in the gnulib source directory.
Try 'announce-gen --help' for more information.
* maint.mk (announcement): Skip gnulib version if not used.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Thu, 01 Mar 2012 21:21:09 -0700 |
parents | 3542db992ebe |
children | 25b84e0d96a6 |
line wrap: on
line diff
--- a/top/maint.mk Thu Mar 01 23:20:22 2012 +0100 +++ b/top/maint.mk Thu Mar 01 21:21:09 2012 -0700 @@ -1254,7 +1254,8 @@ --gpg-key-id=$(gpg_key_ID) \ --news=$(srcdir)/NEWS \ --bootstrap-tools=$(bootstrap-tools) \ - --gnulib-version=$(gnulib-version) \ + $$(case ,$(bootstrap-tools), in (*,gnulib,*) \ + echo --gnulib-version=$(gnulib-version);; esac) \ --no-print-checksums \ $(addprefix --url-dir=, $(url_dir_list))