Do not build doc directory of automake 2.11 and 2.15.

There is a race condition there that often causes builds to fail.
Fixes: #184
This commit is contained in:
Andrius Štikonas 2023-01-24 22:18:11 +00:00
parent 20173fbee1
commit f2e542ef0c
3 changed files with 10 additions and 6 deletions

View file

@ -8,11 +8,13 @@ src_prepare() {
rm doc/amhello-1.0.tar.gz
# Building doc often causes race conditions, skip it
sed -i '/doc\/Makefile.inc/d' Makefile.am
sed -i '/t\/Makefile.inc/d' Makefile.am
AUTOCONF=autoconf-2.69 AUTOM4TE=autom4te-2.69 ./bootstrap
rm doc/automake-history.info doc/automake.info*
cp "${PREFIX}/bin/help2man" doc/
}
src_configure() {
@ -26,5 +28,4 @@ src_compile() {
src_install() {
make install MAKEINFO=true DESTDIR="${DESTDIR}"
rm "${DESTDIR}/usr/bin/automake" "${DESTDIR}/usr/bin/aclocal"
rm "${DESTDIR}${PREFIX}/share/doc/automake/amhello-1.0.tar.gz"
}