X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/a055b2f07dbbc37cf15b5d8cfb8b0df226d3f65e..ee52f6ec6ba94a9e8bdb99f5c456bd8b6bce37ba:/bootstrap.conf diff --git a/bootstrap.conf b/bootstrap.conf index f2aca47d..e90cf12d 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -17,17 +17,28 @@ # gnulib modules used by this package. gnulib_modules=' - announce-gen argmatch assert calloc-posix close closeout config-h c-strcase - configmake dirname error extensions fdl fopen-safer gendocs getopt-gnu + argmatch assert calloc-posix close closeout config-h c-strcase + configmake + dirname + error extensions fdl fopen-safer getopt-gnu gettext git-version-gen gitlog-to-changelog gpl-3.0 hash inttypes isnan javacomp-script - javaexec-script ldexpl maintainer-makefile malloc-gnu mbschr mbsrchr - mbswidth obstack perror pipe-posix progname - quote quotearg realloc-posix + javaexec-script ldexpl malloc-gnu + mbswidth + obstack + obstack-printf + perror progname + quote quotearg + readme-release + realloc-posix spawn-pipe stdbool stpcpy strdup-posix strerror strtoul strverscmp - sysexits unistd unistd-safer unlocked-io update-copyright unsetenv verify - warnings xalloc xalloc-die xstrndup + warnings + xalloc + xalloc-die + xconcat-filename + xmemdup0 + xstrndup fprintf-posix printf-posix snprintf-posix sprintf-posix vsnprintf-posix vsprintf-posix @@ -37,9 +48,9 @@ gnulib_modules=' XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\ --from-code=UTF-8\\\ --flag=asprintf:2:c-format\\\ - --flag=complain:1:c-format --flag=complain_at:2:c-format\\\ - --flag=fatal:1:c-format --flag=fatal_at:2:c-format\\\ - --flag=warn:1:c-format --flag=warn_at:2:c-format\\\ + --flag=complain:2:c-format\\\ + --flag=complain_at:3:c-format\\\ + --flag=complain_at_indent:4:c-format\\\ --flag=unexpected_end:2:c-format\\\ ' XGETTEXT_OPTIONS_RUNTIME=$XGETTEXT_OPTIONS'\\\ @@ -67,6 +78,9 @@ gnulib_tool_option_extras='--symlink --makefile-name=gnulib.mk' bootstrap_post_import_hook() { + # Massage lib/gnulib.mk before using it later in the bootstrapping process. + etc/prefix-gnulib-mk --lib-name=$gnulib_name lib/$gnulib_mk + # Ensure that ChangeLog exists, for automake. test -f ChangeLog || touch ChangeLog } @@ -76,6 +90,8 @@ bootstrap_epilogue() # Make sure we don't need src/bison, which usually doesn't exist at # the time of a bootstrap. touch src/parse-gram.[ch] + + perl -pi -e "s/\@PACKAGE\@/$package/g" README-release } # Keep our bootstrap script in sync with gnulib's. If we ever need to @@ -83,4 +99,4 @@ bootstrap_epilogue() # the bootstrap entry from the file .x-update-copyright, and add any # needed copyright years to the copyright statement in the bootstrap # script. -# FIXME: temporary bootstrap_sync=true +bootstrap_sync=true