commit: 5599846016149c0bb078a87e9e4c3b1d94dcfc46
parent 8a3ab450b2795213c35c1e2e10a54eaaba330d7d
Author: fosslinux <fosslinux@aussies.space>
Date: Sun, 9 Feb 2025 10:11:28 +1100
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.
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/steps/libtool-2.2.4/pass1.sh b/steps/libtool-2.2.4/pass1.sh
@@ -6,9 +6,14 @@
src_prepare() {
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 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
}