On 3 Sep 2010, at 03:18, Jim Meyering wrote: > Gary V. Vaughan wrote: >> 1. gnulib_mk >> ============ >> >>> # Name of the Makefile.am >>> gnulib_mk=gnulib.mk >> >> What is this for? The only use in the rest of the script is inside the >> slurp() function, who's purpose I cannot fathom: >> >>> if test $file = Makefile.am && test "X$gnulib_mk" != XMakefile.am; then >>> copied=$copied${sep}$gnulib_mk; sep=$nl >>> remove_intl='/^[^#].*\/intl/s/^/#/;'"s!$bt_regex/!!g" >>> sed "$remove_intl" $1/$dir/$file | cmp - $dir/$gnulib_mk > /dev/null >>> || { >>> echo "$0: Copying $1/$dir/$file to $dir/$gnulib_mk ..." && >>> rm -f $dir/$gnulib_mk && >>> sed "$remove_intl" $1/$dir/$file >$dir/$gnulib_mk >>> } >> >> It seems to have something to do with removing the intl subdirectory, so >> must pertain to gettext. But then why is it called `gnulib.mk'? > > Much of slurp is now obsolete. It was working around problems > in gnulib that have been resolved. > > For example, as far as I can see, removing the following blocks > induces no change in coreutils' build process.
Thanks. Applied to my local copy. Cheers, -- Gary V. Vaughan (g...@gnu.org)
PGP.sig
Description: This is a digitally signed message part