From 5599846016149c0bb078a87e9e4c3b1d94dcfc46 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Sun, 9 Feb 2025 10:11:28 +1100 Subject: [PATCH] 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. --- steps/libtool-2.2.4/pass1.sh | 7 ++++++- 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 index 3abb60df..15a44d14 100755 --- 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 }