Skip to content

Commit d9a8890

Browse files
committed
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.
1 parent e08cfe3 commit d9a8890

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

steps/libtool-2.2.4/pass1.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@
66
src_prepare() {
77
default
88

9-
rm -f libltdl/config/ltmain.sh libtool
9+
rm -f libltdl/config/ltmain.sh libtool libltdl/m4/ltversion.m4
1010

1111
rm -f doc/*.info
12+
rm -f tests/testsuite
13+
14+
find tests -name configure | while read d; do
15+
rm -r "$(dirname "$d")"
16+
done
1217

1318
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
1419
}

0 commit comments

Comments
 (0)