Subject: | make clean removes too much |
The clean target in the makefile removes far too much, preventing the module from being compiled again without unpacking the tarball once more.
mhorsfall@tworivers:~$ tar -xzf List-MoreUtils-0.410.tar.gz
mhorsfall@tworivers:~$ cd List-MoreUtils-0.410/
mhorsfall@tworivers:~/List-MoreUtils-0.410$ perl Makefile.PL
Checking whether pureperl is required... no
Checking for cc... cc
Checking for cc... (cached) cc
Checking whether perlapi is accessible... yes
Variant providers in LMU::TestVariants: CanXS
Checking whether pureperl is required... (cached) no
Checking for cc... (cached) cc
Checking whether perlapi is accessible... (cached) yes
Writing gt/pureperl/Functions.t
Writing gt/pureperl/Import.t
Writing gt/pureperl/XS.t
Writing gt/pureperl/ab.t
Writing gt/xs/Functions.t
Writing gt/xs/Import.t
Writing gt/xs/XS.t
Writing gt/xs/ab.t
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for List::MoreUtils
Writing MYMETA.yml and MYMETA.json
mhorsfall@tworivers:~/List-MoreUtils-0.410$ make clean
rm -f \
MoreUtils.bso MoreUtils.def \
MoreUtils.exp MoreUtils.x \
MoreUtils.bs blib/arch/auto/List/MoreUtils/extralibs.all \
blib/arch/auto/List/MoreUtils/extralibs.ld Makefile.aperl \
*.a *.o \
*perl.core MYMETA.json \
MYMETA.yml MoreUtils.c \
blibdirs.ts core \
core.*perl.*.? core.[0-9] \
core.[0-9][0-9] core.[0-9][0-9][0-9] \
core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9] \
libMoreUtils.def mon.out \
perl perl \
perl.exe perlmain.c \
pm_to_blib pm_to_blib.ts \
so_locations tmon.out
rm -rf \
blib gt \
inc/inc_* inc/latest*
mv Makefile Makefile.old > /dev/null 2>&1
mhorsfall@tworivers:~/List-MoreUtils-0.410$ perl Makefile.PL
Can't locate Data/Tumbler.pm in @INC (you may need to install the Data::Tumbler module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib /perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at (eval 49) line 1.
BEGIN failed--compilation aborted at Makefile.PL line 70.