> Absolutely. > > One idea would be: > > --gnulib-srcdir overrides environment, but defaults to $GNULIB_SRCDIR > > bootstrap require git, creates fresh clone > bootstrap --gnulib-srcdir require git, clones using srcdir as > reference > bootstrap --no-git error (unless GNULIB_SRCDIR is in > environment) > bootstrap --gnulib-srcdir --no-git avoid git, use srcdir directly > > where the new --no-git option is what makes it explicit that you intend > to use an existing directory as-is rather than update a submodule in > your local tree.
Ok, first shot, see attached patch. With this, this works: export GNULIB_SRCDIR=path/to/gnulib; ./bootstrap --skip-po --copy --no-git this likewise: ./bootstrap --gnulib-srcdir=path/to/gnulib --skip-po --copy --no-git this fails: ./bootstrap --skip-po --copy --no-git (where 'works' means octave is bootstrapping correctly for a unpacked .tgz source tree) correct direction?
gnulib.patch
Description: Binary data
