develooper Front page | perl.perl5.porters | Postings from January 2005

Re: [ANNOUNCE] ExtUtils::MakeMaker 6.25_06

From:
PPrymmer
Date:
January 3, 2005 09:10
Subject:
Re: [ANNOUNCE] ExtUtils::MakeMaker 6.25_06
Message ID:
OF38DB4A8C.A475F34F-ON85256F7E.005D9147-85256F7E.005E5E47@factset.com
Peter Prymmer/FactSet wrote on 01/03/2005 10:54:24 AM:

> I'll see about restoring the cleaning of .opt files next.

OK here is a patch that implements this extra clean target file
cleanup.

--- ExtUtils-MakeMaker-6_25_07/lib/ExtUtils/MM_VMS.pm;-3    Mon Jan  3 10:43:10 2005
+++ ExtUtils-MakeMaker-6_25_07/lib/ExtUtils/MM_VMS.pm Mon Jan  3 11:59:26 2005
@@ -1017,7 +1017,7 @@

 sub extra_clean_files {
     return qw(
-              *.Map *.Dmp *.Lis *.cpp *.$(DLEXT) $(BASEEXT).bso
+              *.Map *.Dmp *.Lis *.cpp *.$(DLEXT) *.Opt $(BASEEXT).bso
               .MM_Tmp
              );
 }

I found it instructive to compare a couple of different
versions of MM_VMS.pm to see which extra VMS specific
files were mentioned (idiosyncracy to note: note
only are the arguments to search switched with respect
to the arguments to unix grep, but the VMS shell does
not expand the * by deafult and it is passed to the search
program literally):

Perl 5.8.6 with a patched MakeMaker 6.25_07

$ search perl_root:[lib.extutils]mm_vms.pm *.map
              *.Map *.Dmp *.Lis *.cpp *.$(DLEXT) *.Opt $(BASEEXT).bso

Perl 5.005_02 with MakeMaker 5.4301

$ search perl_root:[lib.extutils]mm_vms.pm *.map
    push @m, '  $(RM_F) *.Map *.Dmp *.Lis *.cpp *.$(DLEXT) *$(OBJ_EXT) *$(LIB_EXT) *.Opt $(BOOTSTRAP) $(BASEEXT).bso .MM_Tmp

Perl 5.8.1 with MakeMaker 6.17

$ search perl_root:[lib.extutils]mm_vms.pm *.map
    push @m, '  $(RM_F) *.Map *.Dmp *.Lis *.cpp *.$(DLEXT) *$(OBJ_EXT) *$(LIB_EXT) *.Opt $(BOOTSTRAP) $(BASEEXT).bso .MM_Tmp

I note that with 6.25_07 the various *.OBJ; files are
handled with "mmk clean" as is the DBI.EXE sharable
image.  The BOOTSTRAP macro seems to have disappeared,
hence I think that the only thing missing was the *.Opt
that I added in the above patch (but I have not tested
static extension building and cleaning much).

Peter Prymmer




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About