automake-*: remove some pregenerated files

This commit is contained in:
fosslinux 2025-02-08 10:22:59 +11:00
parent 31fbbb11af
commit bae65f193e
4 changed files with 14 additions and 4 deletions

View file

@ -13,7 +13,7 @@ f095fe12baf0d5899d8a5a6b735da014f8e087ff5cf5183e03b6c0b454be2f30 autogen-5.18.1
02a426e82a52d4a2cd7e73fe3dc5a2c58b3ed100f24a92c57e42511fd86e247c automake-1.10.3_0.tar.bz2
34925adeaa2876a5e068adeb17b71fe7c7105244c3cb5439d33f7406310674da automake-1.11.2_0.tar.bz2
7e36e9e4b3957c95b6de8ff475c9b37aa007e2f9735b01c0eaf14b711fdd112f automake-1.15.1_0.tar.bz2
57100612d902537b72ee2fd3dfecc903f2ea3959f1a480af87c6a1ef9a9d7c03 automake-1.16.3_0.tar.bz2
a7f8c17dbc6e4ec5ff0186a0ddf2266a23c1579321c52c2faf8e11fafa232281 automake-1.16.3_0.tar.bz2
1c7e09ac08f156960420fca1f6e8560c1855bf01b001a0648b56153d6ceb9c28 automake-1.6.3_0.tar.bz2
444131776779d1f27628088a817bfb8c9aa85f4b036b934794a71e484ec9bd70 automake-1.6.3_1.tar.bz2
ef08694bf8e78ffcf56f9c8a63b0f189e301c06f02ab240e15e4c7fe354c2a0d automake-1.7_0.tar.bz2

View file

@ -7,6 +7,7 @@ src_prepare() {
default
rm -f doc/amhello-1.0.tar.gz doc/automake.info* doc/aclocal-1.11.1 doc/automake-1.11.1
rm tests/parallel-tests.am
# Building doc often causes race conditions, skip it
awk '/SUBDIRS/{sub("doc ", "", $0)} {print}' Makefile.am > Makefile.am.tmp

View file

@ -6,15 +6,16 @@
src_prepare() {
default
rm doc/amhello-1.0.tar.gz
rm doc/amhello-1.0.tar.gz doc/automake-history.info doc/automake.info*
grep "DO NOT EDIT BY HAND" -r t -l | while read f; do
rm "$f"
done
# 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 -f" AUTOM4TE=autom4te-2.69 ./bootstrap
rm doc/automake-history.info doc/automake.info*
}
src_configure() {

View file

@ -1,11 +1,19 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
# SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
# Disable amhello, it is not reproducible
rm doc/amhello-1.0.tar.gz
sed -i "/^dist_doc_DATA =/d" doc/local.mk
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 AUTOCONF=autoconf-2.69 AUTOM4TE=autom4te-2.69 ./bootstrap
rm doc/automake-history.info doc/automake.info*
grep "DO NOT EDIT BY HAND" -r t -l | while read f; do
rm "$f"
done
cp "${PREFIX}/bin/help2man" doc/
}