libtool-2.2.4: remove some pregenerated files+dirs

notably, the tests directories seem to be examples of real world
software. they are unnecessary and unauditable so we remove them.
This commit is contained in:
fosslinux 2025-02-09 10:11:28 +11:00
parent 8a3ab450b2
commit 5599846016

View file

@ -6,9 +6,14 @@
src_prepare() { src_prepare() {
default default
rm -f libltdl/config/ltmain.sh libtool rm -f libltdl/config/ltmain.sh libtool libltdl/m4/ltversion.m4
rm -f doc/*.info rm -f doc/*.info
rm -f tests/testsuite
find tests -name configure | while read d; do
rm -r "$(dirname "$d")"
done
AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.61 AUTOCONF=autoconf-2.61 AUTOHEADER=autoheader-2.61 AUTORECONF=autoreconf-2.61 ./bootstrap AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.61 AUTOCONF=autoconf-2.61 AUTOHEADER=autoheader-2.61 AUTORECONF=autoreconf-2.61 ./bootstrap
} }