2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00

perl: Remove unneeded pod files.

This commit is contained in:
Dylan Araps 2019-06-19 15:22:24 +03:00
parent 7d91fd63c3
commit 8085cc8895
2 changed files with 14 additions and 43 deletions

View File

@ -35,3 +35,17 @@ BUILD_BZIP2=0
make
make DESTDIR="$1" install
# Remove all .pod files except for those in:
# /usr/share/perl5/core_perl/pod/
for d in "$1/usr/share/perl5/core_perl/"*; do
[ -d "$d" ] && [ "${d##*/}" != pod ] && {
find "$d" -name "*.pod" -delete
}
done
# Ditto.
rm -f "$1/usr/share/perl5/core_perl/"*.pod
find "$1/usr/lib" -name \*.pod -delete
find "$1" -name .packlist -delete

View File

@ -14,9 +14,7 @@
/usr/share/perl5/core_perl/warnings/
/usr/share/perl5/core_perl/vmsish.pm
/usr/share/perl5/core_perl/version/regex.pm
/usr/share/perl5/core_perl/version.pod
/usr/share/perl5/core_perl/version.pm
/usr/share/perl5/core_perl/version/Internals.pod
/usr/share/perl5/core_perl/version/
/usr/share/perl5/core_perl/vars.pm
/usr/share/perl5/core_perl/utf8.pm
@ -705,7 +703,6 @@
/usr/share/perl5/core_perl/Text/
/usr/share/perl5/core_perl/Test/use/ok.pm
/usr/share/perl5/core_perl/Test/use/
/usr/share/perl5/core_perl/Test/Tutorial.pod
/usr/share/perl5/core_perl/Test/Tester.pm
/usr/share/perl5/core_perl/Test/Tester/Delegate.pm
/usr/share/perl5/core_perl/Test/Tester/CaptureRunner.pm
@ -731,7 +728,6 @@
/usr/share/perl5/core_perl/Test2/Util/Facets2Legacy.pm
/usr/share/perl5/core_perl/Test2/Util/ExternalMeta.pm
/usr/share/perl5/core_perl/Test2/Util/
/usr/share/perl5/core_perl/Test2/Transition.pod
/usr/share/perl5/core_perl/Test2/Tools/Tiny.pm
/usr/share/perl5/core_perl/Test2/Tools/
/usr/share/perl5/core_perl/Test2.pm
@ -834,7 +830,6 @@
/usr/share/perl5/core_perl/TAP/Object.pm
/usr/share/perl5/core_perl/TAP/Harness.pm
/usr/share/perl5/core_perl/TAP/Harness/Env.pm
/usr/share/perl5/core_perl/TAP/Harness/Beyond.pod
/usr/share/perl5/core_perl/TAP/Harness/
/usr/share/perl5/core_perl/TAP/Formatter/Session.pm
/usr/share/perl5/core_perl/TAP/Formatter/File/Session.pm
@ -873,7 +868,6 @@
/usr/share/perl5/core_perl/Pod/Simple/TiedOutFH.pm
/usr/share/perl5/core_perl/Pod/Simple/Text.pm
/usr/share/perl5/core_perl/Pod/Simple/TextContent.pm
/usr/share/perl5/core_perl/Pod/Simple/Subclassing.pod
/usr/share/perl5/core_perl/Pod/Simple/SimpleTree.pm
/usr/share/perl5/core_perl/Pod/Simple/Search.pm
/usr/share/perl5/core_perl/Pod/Simple/RTF.pm
@ -883,7 +877,6 @@
/usr/share/perl5/core_perl/Pod/Simple/PullParser.pm
/usr/share/perl5/core_perl/Pod/Simple/PullParserEndToken.pm
/usr/share/perl5/core_perl/Pod/Simple/Progress.pm
/usr/share/perl5/core_perl/Pod/Simple.pod
/usr/share/perl5/core_perl/Pod/Simple.pm
/usr/share/perl5/core_perl/Pod/Simple/Methody.pm
/usr/share/perl5/core_perl/Pod/Simple/LinkSection.pm
@ -1151,7 +1144,6 @@
/usr/share/perl5/core_perl/Net/NNTP.pm
/usr/share/perl5/core_perl/Net/Netrc.pm
/usr/share/perl5/core_perl/Net/netent.pm
/usr/share/perl5/core_perl/Net/libnetFAQ.pod
/usr/share/perl5/core_perl/Net/hostent.pm
/usr/share/perl5/core_perl/Net/FTP.pm
/usr/share/perl5/core_perl/Net/FTP/L.pm
@ -1170,7 +1162,6 @@
/usr/share/perl5/core_perl/Module/Load/Conditional.pm
/usr/share/perl5/core_perl/Module/Load/
/usr/share/perl5/core_perl/Module/CoreList/Utils.pm
/usr/share/perl5/core_perl/Module/CoreList.pod
/usr/share/perl5/core_perl/Module/CoreList.pm
/usr/share/perl5/core_perl/Module/CoreList/
/usr/share/perl5/core_perl/Module/
@ -1197,56 +1188,39 @@
/usr/share/perl5/core_perl/Math/BigFloat.pm
/usr/share/perl5/core_perl/Math/BigFloat/
/usr/share/perl5/core_perl/Math/
/usr/share/perl5/core_perl/Locale/Script.pod
/usr/share/perl5/core_perl/Locale/Script.pm
/usr/share/perl5/core_perl/locale.pm
/usr/share/perl5/core_perl/Locale/Maketext/TPJ13.pod
/usr/share/perl5/core_perl/Locale/Maketext/Simple.pm
/usr/share/perl5/core_perl/Locale/Maketext.pod
/usr/share/perl5/core_perl/Locale/Maketext.pm
/usr/share/perl5/core_perl/Locale/Maketext/Guts.pm
/usr/share/perl5/core_perl/Locale/Maketext/GutsLoader.pm
/usr/share/perl5/core_perl/Locale/Maketext/Cookbook.pod
/usr/share/perl5/core_perl/Locale/Maketext/
/usr/share/perl5/core_perl/Locale/Language.pod
/usr/share/perl5/core_perl/Locale/Language.pm
/usr/share/perl5/core_perl/Locale/Currency.pod
/usr/share/perl5/core_perl/Locale/Currency.pm
/usr/share/perl5/core_perl/Locale/Country.pod
/usr/share/perl5/core_perl/Locale/Country.pm
/usr/share/perl5/core_perl/Locale/Codes/Types.pod
/usr/share/perl5/core_perl/Locale/Codes/Script_Retired.pm
/usr/share/perl5/core_perl/Locale/Codes/Script.pod
/usr/share/perl5/core_perl/Locale/Codes/Script.pm
/usr/share/perl5/core_perl/Locale/Codes/Script_Codes.pm
/usr/share/perl5/core_perl/Locale/Codes.pod
/usr/share/perl5/core_perl/Locale/Codes.pm
/usr/share/perl5/core_perl/Locale/Codes/LangVar_Retired.pm
/usr/share/perl5/core_perl/Locale/Codes/LangVar.pod
/usr/share/perl5/core_perl/Locale/Codes/LangVar.pm
/usr/share/perl5/core_perl/Locale/Codes/LangVar_Codes.pm
/usr/share/perl5/core_perl/Locale/Codes/Language_Retired.pm
/usr/share/perl5/core_perl/Locale/Codes/Language.pod
/usr/share/perl5/core_perl/Locale/Codes/Language.pm
/usr/share/perl5/core_perl/Locale/Codes/Language_Codes.pm
/usr/share/perl5/core_perl/Locale/Codes/LangFam_Retired.pm
/usr/share/perl5/core_perl/Locale/Codes/LangFam.pod
/usr/share/perl5/core_perl/Locale/Codes/LangFam.pm
/usr/share/perl5/core_perl/Locale/Codes/LangFam_Codes.pm
/usr/share/perl5/core_perl/Locale/Codes/LangExt_Retired.pm
/usr/share/perl5/core_perl/Locale/Codes/LangExt.pod
/usr/share/perl5/core_perl/Locale/Codes/LangExt.pm
/usr/share/perl5/core_perl/Locale/Codes/LangExt_Codes.pm
/usr/share/perl5/core_perl/Locale/Codes/Currency_Retired.pm
/usr/share/perl5/core_perl/Locale/Codes/Currency.pod
/usr/share/perl5/core_perl/Locale/Codes/Currency.pm
/usr/share/perl5/core_perl/Locale/Codes/Currency_Codes.pm
/usr/share/perl5/core_perl/Locale/Codes/Country_Retired.pm
/usr/share/perl5/core_perl/Locale/Codes/Country.pod
/usr/share/perl5/core_perl/Locale/Codes/Country.pm
/usr/share/perl5/core_perl/Locale/Codes/Country_Codes.pm
/usr/share/perl5/core_perl/Locale/Codes/Constants.pm
/usr/share/perl5/core_perl/Locale/Codes/Changes.pod
/usr/share/perl5/core_perl/Locale/Codes/
/usr/share/perl5/core_perl/Locale/
/usr/share/perl5/core_perl/less.pm
@ -1284,7 +1258,6 @@
/usr/share/perl5/core_perl/IO/Compress/Gzip.pm
/usr/share/perl5/core_perl/IO/Compress/Gzip/Constants.pm
/usr/share/perl5/core_perl/IO/Compress/Gzip/
/usr/share/perl5/core_perl/IO/Compress/FAQ.pod
/usr/share/perl5/core_perl/IO/Compress/Deflate.pm
/usr/share/perl5/core_perl/IO/Compress/Bzip2.pm
/usr/share/perl5/core_perl/IO/Compress/Base.pm
@ -1296,7 +1269,6 @@
/usr/share/perl5/core_perl/IO/Compress/Adapter/
/usr/share/perl5/core_perl/IO/Compress/
/usr/share/perl5/core_perl/IO/
/usr/share/perl5/core_perl/Internals.pod
/usr/share/perl5/core_perl/integer.pm
/usr/share/perl5/core_perl/if.pm
/usr/share/perl5/core_perl/I18N/LangTags.pm
@ -1339,7 +1311,6 @@
/usr/share/perl5/core_perl/ExtUtils/typemap
/usr/share/perl5/core_perl/ExtUtils/testlib.pm
/usr/share/perl5/core_perl/ExtUtils/ParseXS/Utilities.pm
/usr/share/perl5/core_perl/ExtUtils/ParseXS.pod
/usr/share/perl5/core_perl/ExtUtils/ParseXS.pm
/usr/share/perl5/core_perl/ExtUtils/ParseXS/Eval.pm
/usr/share/perl5/core_perl/ExtUtils/ParseXS/CountLines.pm
@ -1370,10 +1341,8 @@
/usr/share/perl5/core_perl/ExtUtils/MANIFEST.SKIP
/usr/share/perl5/core_perl/ExtUtils/Manifest.pm
/usr/share/perl5/core_perl/ExtUtils/MakeMaker/version.pm
/usr/share/perl5/core_perl/ExtUtils/MakeMaker/Tutorial.pod
/usr/share/perl5/core_perl/ExtUtils/MakeMaker.pm
/usr/share/perl5/core_perl/ExtUtils/MakeMaker/Locale.pm
/usr/share/perl5/core_perl/ExtUtils/MakeMaker/FAQ.pod
/usr/share/perl5/core_perl/ExtUtils/MakeMaker/Config.pm
/usr/share/perl5/core_perl/ExtUtils/MakeMaker/
/usr/share/perl5/core_perl/ExtUtils/Liblist.pm
@ -1418,10 +1387,8 @@
/usr/share/perl5/core_perl/encoding/warnings.pm
/usr/share/perl5/core_perl/encoding/
/usr/share/perl5/core_perl/Encode/_T.e2x
/usr/share/perl5/core_perl/Encode/Supported.pod
/usr/share/perl5/core_perl/Encode/README.e2x
/usr/share/perl5/core_perl/Encode/_PM.e2x
/usr/share/perl5/core_perl/Encode/PerlIO.pod
/usr/share/perl5/core_perl/Encode/Makefile_PL.e2x
/usr/share/perl5/core_perl/Encode/encode.h
/usr/share/perl5/core_perl/Encode/ConfigLocal_PM.e2x
@ -1467,11 +1434,6 @@
/usr/share/perl5/core_perl/CPAN/Meta.pm
/usr/share/perl5/core_perl/CPAN/Meta/Merge.pm
/usr/share/perl5/core_perl/CPAN/Meta/History.pm
/usr/share/perl5/core_perl/CPAN/Meta/History/Meta_1_4.pod
/usr/share/perl5/core_perl/CPAN/Meta/History/Meta_1_3.pod
/usr/share/perl5/core_perl/CPAN/Meta/History/Meta_1_2.pod
/usr/share/perl5/core_perl/CPAN/Meta/History/Meta_1_1.pod
/usr/share/perl5/core_perl/CPAN/Meta/History/Meta_1_0.pod
/usr/share/perl5/core_perl/CPAN/Meta/History/
/usr/share/perl5/core_perl/CPAN/Meta/Feature.pm
/usr/share/perl5/core_perl/CPAN/Meta/Converter.pm
@ -1506,10 +1468,8 @@
/usr/share/perl5/core_perl/CPAN/CacheMgr.pm
/usr/share/perl5/core_perl/CPAN/Bundle.pm
/usr/share/perl5/core_perl/CPAN/Author.pm
/usr/share/perl5/core_perl/CPAN/API/HOWTO.pod
/usr/share/perl5/core_perl/CPAN/API/
/usr/share/perl5/core_perl/CPAN/
/usr/share/perl5/core_perl/CORE.pod
/usr/share/perl5/core_perl/constant.pm
/usr/share/perl5/core_perl/Config/Perl/V.pm
/usr/share/perl5/core_perl/Config/Perl/
@ -2414,14 +2374,12 @@
/usr/lib/perl5/core_perl/Scalar/Util.pm
/usr/lib/perl5/core_perl/Scalar/
/usr/lib/perl5/core_perl/re.pm
/usr/lib/perl5/core_perl/POSIX.pod
/usr/lib/perl5/core_perl/POSIX.pm
/usr/lib/perl5/core_perl/PerlIO/via.pm
/usr/lib/perl5/core_perl/PerlIO/scalar.pm
/usr/lib/perl5/core_perl/PerlIO/mmap.pm
/usr/lib/perl5/core_perl/PerlIO/encoding.pm
/usr/lib/perl5/core_perl/PerlIO/
/usr/lib/perl5/core_perl/.packlist
/usr/lib/perl5/core_perl/ops.pm
/usr/lib/perl5/core_perl/O.pm
/usr/lib/perl5/core_perl/Opcode.pm
@ -2604,7 +2562,6 @@
/usr/lib/perl5/core_perl/CORE/bitcount.h
/usr/lib/perl5/core_perl/CORE/av.h
/usr/lib/perl5/core_perl/CORE/
/usr/lib/perl5/core_perl/Config.pod
/usr/lib/perl5/core_perl/Config.pm
/usr/lib/perl5/core_perl/Config_heavy.pl
/usr/lib/perl5/core_perl/Config_git.pl