bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib unnecessarily enforces git as requirement


From: Benjamin Lindner
Subject: Re: gnulib unnecessarily enforces git as requirement
Date: Thu, 20 Jan 2011 17:50:15 +0100

> 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?

Attachment: gnulib.patch
Description: Binary data


reply via email to

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