# gnulib modules used by this package.
gnulib_modules='
- announce-gen argmatch assert calloc-posix close config-h c-strcase
- configmake dirname error extensions fdl fopen-safer gendocs getopt-gnu
- gettext git-version-gen gpl-3.0 hash inttypes isnan javacomp-script
- javaexec-script ldexpl maintainer-makefile malloc-gnu mbschr mbsrchr
- mbswidth obstack perror pipe-posix quote quotearg realloc-posix
+ 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 malloc-gnu
+ mbswidth obstack perror progname
+ quote quotearg
+ readme-release
+ realloc-posix
spawn-pipe stdbool stpcpy strdup-posix strerror strtoul strverscmp
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
m4/visibility.m4
'
-# Massage lib/gnulib.mk before using it later in the bootstrapping process.
-gnulib_mk_hook()
+gnulib_tool_option_extras='--symlink --makefile-name=gnulib.mk'
+
+bootstrap_post_import_hook()
{
- etc/prefix-gnulib-mk $1
+ # 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
}
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