bootstrap: use GNULIB_SRCDIR to reduce disk usage
authorEric Blake <eblake@redhat.com>
Mon, 22 Feb 2010 15:46:42 +0000 (08:46 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 22 Feb 2010 23:01:02 +0000 (16:01 -0700)
commit5990ad9e6ab590626a42764bf21dba6d7a05f237
treea8d72463854180d0c2be350172e8152a5649050e
parentaff170b49eab9693cdeaf5cc3559f5c64bfdf4c9
bootstrap: use GNULIB_SRCDIR to reduce disk usage

This slightly changes the semantics of GNULIB_SRCDIR; previously,
it was a way to change the contents of .gitmodules to actually
point to a new location, which meant that running:
 GNULIB_SRCDIR=~/gnulib ./bootstrap
would result in a dirty tree.  The new semantics are nicer; the
submodule is cloned as normal, but the clone uses the original
$GNULIB_SRCDIR as an object reference to reduce download time
and disk space.

* build-aux/bootstrap (GNULIB_SRCDIR): If set, use as a reference,
rather than reconfiguring where the submodule points.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
build-aux/bootstrap