]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Fetch gnulib files from gitweb.
authorZack Weinberg <zackw@panix.com>
Thu, 3 Sep 2020 15:40:50 +0000 (11:40 -0400)
committerZack Weinberg <zackw@panix.com>
Thu, 3 Sep 2020 15:40:50 +0000 (11:40 -0400)
commit8af9e92c9126813680e668a4a84ae62784d596ab
tree33c6cb393d8811cb32d93989bc8c412ff38dce57
parent41edf99f9515f3f83398428c39d79e11266a5a0d
Fetch gnulib files from gitweb.

‘make fetch’ pulls the files maintained by Automake from gitweb, so we
always get the HEAD revision at the time of the operation.  The files
maintained by Gnulib, on the other hand, are just copied from whatever
local gnulib checkout you happen to have on your hard drive at the
time, which might not have been updated recently and might not even be
checked out from gnulib trunk.

This patch makes us use the same logic for Gnulib that we do for
Automake.  It also pulls all of the code out of cfg.mk to a separate
shell script.  The lists of files to update from each repository are
also moved to that file.

 * build-aux/fetch.sh: New script.  Lists of files to fetch from
   Gnulib and Automake are now kept here.
 * cfg.mk (fetch): Run fetch.sh, it does all the work.
   (gnulib-update, autom4te-update, WGETFLAGS, automake_gitweb)
   (autom4te_files, move_if_change): Delete.
build-aux/fetch.sh [new file with mode: 0755]
cfg.mk