bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: maint.mk: absolute VPATH build fix


From: Bruno Haible
Subject: Re: maint.mk: absolute VPATH build fix
Date: Sat, 28 Jul 2012 23:26:57 +0200
User-agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )

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

[Prev in Thread] Current Thread [Next in Thread]