]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: non-recursive Automake in a less hacky way
authorBruno Haible <bruno@clisp.org>
Thu, 16 Dec 2021 16:24:30 +0000 (08:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Dec 2021 17:33:12 +0000 (09:33 -0800)
* bootstrap.conf (gnulib_modules): Remove
non-recursive-gnulib-prefix-hack.
(gnulib_tool_option_extras): Add --automake-subdir.
(bootstrap_post_import_hook): No need to massage lib/gnulib.mk.

bootstrap.conf

index 2b66bc42d7d5786a08144eabed57d4907114bb48..c2f74f406664626e915eba9acfa52127c7750ef7 100644 (file)
@@ -182,7 +182,6 @@ gnulib_modules="
   mountlist
   mpsort
   netinet_in
-  non-recursive-gnulib-prefix-hack
   nproc
   nstrftime
   obstack
@@ -339,7 +338,7 @@ XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
 '
 
 gnulib_tool_option_extras="--tests-base=gnulib-tests --with-tests --symlink\
- --makefile-name=gnulib.mk
+ --makefile-name=gnulib.mk --automake-subdir
 "
 
 # Build prerequisites
@@ -373,9 +372,6 @@ bootstrap_post_import_hook ()
     && chmod a-w $tmp-1 $tmp-2 \
     && mv -f $tmp-1 $m4f && mv -f $tmp-2 $mkf)
 
-  # Massage lib/gnulib.mk before using it later in the bootstrapping process.
-  build-aux/prefix-gnulib-mk --lib-name=$gnulib_name lib/$gnulib_mk
-
   # Regenerate src/single-binary.mk
   (mkf=src/single-binary.mk tmp=single-binary.tmp \
     && rm -f $mkf $tmp \