bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] maintainer-makefile: Mimic bootstrap's gnulib-srcdir guessin


From: Bruno Haible
Subject: Re: [PATCH] maintainer-makefile: Mimic bootstrap's gnulib-srcdir guessing.
Date: Tue, 26 Jan 2021 17:15:46 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; )

Hi Simon,

> The reason is top/maint.mk has
> 
>  # You can override this variable in cfg.mk if your gnulib submodule lives
>  # in a different location.
>  gnulib_dir ?= $(srcdir)/gnulib
> 
> and that directory doesn't exist if bootstrap used $GNULIB_SRCDIR.

Instead of relying on an environment variable, I would find it more reliable
to rely on the contents of the '.gitmodules' files. Like top/gitsub.sh does
it.

Bruno




reply via email to

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