mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03:04 +00:00
bootstrap: relieve developpers from Gettext version mismatch issues
* .travis.yml (compile): Move the workaround from here... * bootstrap.conf (bootstrap_epilogue): to there.
This commit is contained in:
@@ -50,9 +50,6 @@ jobs:
|
|||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
- ./bootstrap
|
- ./bootstrap
|
||||||
# gnulib-po/Makefile.in.in is about Gettext 0.20, which is not available in bionic. So it will break here. Override it. Don't use autopoint, which sends some other files in the past.
|
|
||||||
- cp po/Makefile.in.in gnulib-po
|
|
||||||
|
|
||||||
- ./configure --enable-gcc-warnings || { cat config.log && false; }
|
- ./configure --enable-gcc-warnings || { cat config.log && false; }
|
||||||
- make -j2
|
- make -j2
|
||||||
- make -j2 dist
|
- make -j2 dist
|
||||||
|
|||||||
@@ -90,6 +90,13 @@ bootstrap_epilogue()
|
|||||||
touch src/parse-gram.[ch]
|
touch src/parse-gram.[ch]
|
||||||
|
|
||||||
perl -pi -e "s/\@PACKAGE\@/$package/g" README-release
|
perl -pi -e "s/\@PACKAGE\@/$package/g" README-release
|
||||||
|
|
||||||
|
# Bison currently uses Gettext 0.19, but the gnulib-po module
|
||||||
|
# imports files from more recent versions of Gettext that are not
|
||||||
|
# yet available widely enough (e.g., not in bionic, used by the CI).
|
||||||
|
# Work around this. Don't use autopoint, which sends some other
|
||||||
|
# files in the past.
|
||||||
|
cp po/Makefile.in.in gnulib-po
|
||||||
}
|
}
|
||||||
|
|
||||||
# Keep our bootstrap script in sync with gnulib's. If we ever need to
|
# Keep our bootstrap script in sync with gnulib's. If we ever need to
|
||||||
|
|||||||
Reference in New Issue
Block a user