[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] maintainer-makefile: Mimic bootstrap's gnulib-srcdir guessin
From: |
Simon Josefsson |
Subject: |
Re: [PATCH] maintainer-makefile: Mimic bootstrap's gnulib-srcdir guessing. |
Date: |
Thu, 28 Jan 2021 10:20:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Bruno Haible <bruno@clisp.org> 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 that I don't need to remember whether
> I need to use submodule commands or not.
>
> The comments in this script also discuss the advantages vs. drawbacks of
> using gnulib as a git submodule.
Thanks! Reading that re-inforced my preference to not use git
submodules nor subcheckouts (although I didn't know about subcheckouts
before, which seems nicer than git submodules). Having the gnulib git
checkout be in a separate directory like ~/src/gnulib (or
~/src/gnulib-inetutils if I needed a particular checkout for one project
I am working on) and point GNULIB_SRCDIR to it gives me full flexibility
without complexity of managing subdirectories.
/Simon
signature.asc
Description: PGP signature