2007-12-01 Jim Meyering <meyering@redhat.com>
+ * Makefile.maint (vc-tag-check): Correct check for existing git tag.
+
Defer NEWS and ChangeLog checks until after the version-changing tag.
* Makefile.maint (alpha beta major): Don't depend on the
news-date-check changelog-check targets. They must fail before
$(CVS) -n log -h README|grep -e $(this-vc-tag-regexp): >/dev/null \
&& used=yes; \
else \
- $(GIT) tag -l '^$(this-vc-tag-regexp)$$' && used=yes; \
+ test -n `$(GIT) tag -l '$(this-vc-tag)'` && used=yes; \
fi; \
if test "$$used" = yes; then \
echo "$(this-vc-tag) has already been used; not tagging" 1>&2; \