Subject: | 'make clean' removes source code file SMIME.pod |
In CPAN distributions that use ExtUtils::MakeMaker, the command 'make
clean' is generally used to delete those files created during 'perl
Makefile.PL' and 'make' -- but *only* those files.
However, as the following sequence of commands indicates, 'make clean'
in Crypt-SMIME in effect does too much, viz., it removes source code
file 'SMIME.pod'. This means that if you call 'perl Makefile.PL' after
having called 'make clean', 'SMIME.pod' is reported as missing and a
second attempt at building will fail.
[Crypt-SMIME-0.09] 662 $ perl Makefile.PL
Writing Makefile for Crypt::SMIME
[Crypt-SMIME-0.09] 663 $ make
cp lib/SMIME/JA.pod blib/lib/Crypt/SMIME/JA.pod
cp lib/SMIME.pm blib/lib/Crypt/SMIME.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap
SMIME.xs > SMIME.xsc && mv SMIME.xsc SMIME.c
cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-pipe -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"0.09\"
-DXS_VERSION=\"0.09\"
"-I/usr/local/lib/perl5/5.10.1/darwin-2level/CORE" SMIME.c
Running Mkbootstrap for Crypt::SMIME ()
chmod 644 SMIME.bs
rm -f blib/arch/auto/Crypt/SMIME/SMIME.bundle
LD_RUN_PATH="/opt/local/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc
-bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib
SMIME.o -o blib/arch/auto/Crypt/SMIME/SMIME.bundle \
-lcrypto \
chmod 755 blib/arch/auto/Crypt/SMIME/SMIME.bundle
cp SMIME.bs blib/arch/auto/Crypt/SMIME/SMIME.bs
chmod 644 blib/arch/auto/Crypt/SMIME/SMIME.bs
Manifying blib/man3/SMIME::JA.3
Manifying blib/man3/SMIME.3
[Crypt-SMIME-0.09] 664 $ make clean
rm -f \
*.a core \
core.[0-9] blib/arch/auto/Crypt/SMIME/extralibs.all \
core.[0-9][0-9] SMIME.bso \
pm_to_blib.ts SMIME.c \
core.[0-9][0-9][0-9][0-9] SMIME.x \
SMIME.bs perl \
tmon.out *.o \
pm_to_blib blib/arch/auto/Crypt/SMIME/extralibs.ld \
blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \
*perl.core core.*perl.*.? \
Makefile.aperl perl \
SMIME.def core.[0-9][0-9][0-9] \
mon.out libSMIME.def \
perlmain.c perl.exe \
so_locations SMIME.exp
rm -rf \
Crypt-SMIME-* SMIME.pod \
blib
mv Makefile Makefile.old > /dev/null 2>&1
[Crypt-SMIME-0.09] 665 $ perl Makefile.PL
Checking if your kit is complete...
Warning: the following files are missing in your kit:
SMIME.pod
Please inform the author.
Writing Makefile for Crypt::SMIME
[Crypt-SMIME-0.09] 666 $ ll *.pod
ls: *.pod: No such file or directory
This patch to Makefile.PL should fix the problem:
- FILES => 'Crypt-SMIME-* SMIME.pod',
+ FILES => 'Crypt-SMIME-*',
Thank you very much.
Jim Keenan