gnulib: make use of gnulib-tool's --automake-subdir option

Starting this week, Gnulib supports generating a "non-recursive" Automake
Makefile.am snippet https://lists.gnu.org/r/bug-gnulib/2021-12/msg00085.html.

* bootstrap.conf: Use gnulib-tool's --automake-subdir.
This commit is contained in:
Bruno Haible
2021-12-18 18:45:46 +01:00
committed by Akim Demaille
parent 83a8f8b707
commit 013d598219
3 changed files with 1 additions and 7 deletions

View File

@@ -34,7 +34,6 @@ gnulib_modules='
linked-list linked-list
malloc-gnu malloc-gnu
mbfile mbswidth mbfile mbswidth
non-recursive-gnulib-prefix-hack
obstack obstack
obstack-printf obstack-printf
perror progname perror progname
@@ -80,13 +79,10 @@ XGETTEXT_OPTIONS_RUNTIME=$XGETTEXT_OPTIONS'\\\
--keyword=YY_ \\\ --keyword=YY_ \\\
' '
gnulib_tool_option_extras='--symlink --conditional-dependencies --makefile-name=gnulib.mk --po-base=gnulib-po --po-domain=bison' gnulib_tool_option_extras='--symlink --conditional-dependencies --makefile-name=gnulib.mk --automake-subdir --po-base=gnulib-po --po-domain=bison'
bootstrap_post_import_hook() bootstrap_post_import_hook()
{ {
# Massage lib/gnulib.mk before using it later in the bootstrapping process.
build-aux/prefix-gnulib-mk --lib-name="$gnulib_name" "lib/$gnulib_mk"
# Ensure that ChangeLog exists, for automake. # Ensure that ChangeLog exists, for automake.
test -f ChangeLog || touch ChangeLog test -f ChangeLog || touch ChangeLog
} }

View File

@@ -19,7 +19,6 @@
/libtool-reloc /libtool-reloc
/mdate-sh /mdate-sh
/missing /missing
/prefix-gnulib-mk
/reloc-ldflags /reloc-ldflags
/relocatable.sh.in /relocatable.sh.in
/test-driver /test-driver

1
m4/.gitignore vendored
View File

@@ -142,7 +142,6 @@
/musl.m4 /musl.m4
/nls.m4 /nls.m4
/nocrash.m4 /nocrash.m4
/non-recursive-gnulib-prefix-hack.m4
/obstack-printf.m4 /obstack-printf.m4
/obstack.m4 /obstack.m4
/off_t.m4 /off_t.m4