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

2021-01-28 Thread simon--- via Gnulib discussion list
Bruno Haible writes: > Correct. We don't want to force 'git submodule' into everyone's throat. > > By the way, the cases of with / without submodules are treated symmetrically > (transparently) in gitsub.sh (gnulib/top/gitsub.sh). I've switched to using > this helper script in my projects, so tha

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

2021-01-26 Thread Bruno Haible
Simon Josefsson wrote: > See the beginning of my e-mail: > > Hi! I've noticed in a couple of projects that use bootstrap, without a >^ > gnulib git submodule, and where $GNULIB_SRCDIR is set during bootstrap, > ^^^

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

2021-01-26 Thread simon--- via Gnulib discussion list
Bruno Haible writes: > 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. > > In

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

2021-01-26 Thread Bruno Haible
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 v

[PATCH] maintainer-makefile: Mimic bootstrap's gnulib-srcdir guessing.

2021-01-26 Thread simon--- via Gnulib discussion list
6 Jan 2021 16:24:54 +0100 Subject: [PATCH] maintainer-makefile: Mimic bootstrap's gnulib-srcdir guessing. * top/maint.mk (gnulib_dir): If $(srcdir)/gnulib doesn't exist, fall back to $GNULIB_SRCDIR. --- ChangeLog| 6 ++ top/maint.mk | 6 +- 2 files changed, 11 insertions(+), 1 de