Subject: | 'make clean' fails to remove Strict.c |
In distribution Template-Stash-Strict (observed in v2.15), 'Strict.c' is
not source code; it is built from 'Strict.xs'. So it should be deleted
when a user calls 'make clean'. This is not happening.
[Template-Stash-Strict-2.15] 624 $ make clean
rm -f \
*.a core \
core.[0-9] blib/arch/auto/Template/Stash/Strict/extralibs.all \
core.[0-9][0-9] Strict.bso \
pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
Strict.x Strict.bs \
perl tmon.out \
*.o pm_to_blib \
blib/arch/auto/Template/Stash/Strict/extralibs.ld blibdirs.ts \
core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
core.*perl.*.? Makefile.aperl \
perl Strict.def \
core.[0-9][0-9][0-9] mon.out \
libStrict.def perlmain.c \
perl.exe Strict \
so_locations Strict.exp
rm -rf \
blib
mv Makefile Makefile.old > /dev/null 2>&1
[Template-Stash-Strict-2.15] 627 $ ls -ltr
total 296
-rw-r--r-- 1 jimk jimk 12544 May 11 2006 ppport.h
-rw-r--r-- 1 jimk jimk 38180 May 11 2006 Strict.xs
-rw-r--r-- 1 jimk jimk 1935 May 12 2006 README
-rw-r--r-- 1 jimk jimk 222 May 12 2006 CHANGES
drwxr-xr-x 3 jimk jimk 102 May 12 2006 lib
-rw-r--r-- 1 jimk jimk 375 May 12 2006 META.yml
-rw-r--r-- 1 jimk jimk 233 May 12 2006 MANIFEST
drwxr-xr-x 5 jimk jimk 170 Mar 14 12:29 t
-rw-r--r-- 1 jimk jimk 398 Mar 14 12:43 Makefile.PL
-rw-r--r-- 1 jimk jimk 28168 Mar 14 12:45 Makefile.old
-rw-r--r-- 1 jimk jimk 41396 Mar 14 12:45 Strict.c
It's not clear to me why this is happening or how to correct it.
Commenting out this line in Makefile.PL ...
'C' => [qw( Strict.c )],
... seems to make no difference.
Thank you very much.
Jim Keenan