Hi Akim,

Akim Demaille wrote:
> +  $$(git --git-dir $(srcdir)/.git cat-file tag v$(VERSION) \

This code makes the assumption that the top-level dir of a project
(that is, the one with the top-level Makefile.am and configure.ac)
is at the root of the git project. Which is not necessarily the case.
For an example, see the
  http://git.savannah.gnu.org/gitweb/?p=bibledit.git;a=tree
project: it has several subdirectories with configure.ac and Makefile.am
each, but none at the top level.

Can you make it work without this assumption? I.e. from $(srcdir), walk
up to the first ancestor directory that contains a .git subdir?

Bruno


Reply via email to