perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: modperl-2.0 .cvsignore Makefile.PL
Date Sat, 06 Apr 2002 04:01:56 GMT
dougm       02/04/05 20:01:56

  Modified:    .        .cvsignore Makefile.PL
  Log:
  generate MANIFEST during "make dist"
  
  Revision  Changes    Path
  1.6       +1 -0      modperl-2.0/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/.cvsignore,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- .cvsignore	6 Mar 2002 05:24:57 -0000	1.5
  +++ .cvsignore	6 Apr 2002 04:01:56 -0000	1.6
  @@ -5,3 +5,4 @@
   scraps
   diff.txt
   smoke-report-*.txt
  +MANIFEST
  
  
  
  1.61      +17 -2     modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- Makefile.PL	6 Apr 2002 02:12:14 -0000	1.60
  +++ Makefile.PL	6 Apr 2002 04:01:56 -0000	1.61
  @@ -71,6 +71,9 @@
       clean => {
           FILES => "@{ clean_files() }",
       },
  +    dist => {
  +        DIST_DEFAULT => 'mydist',
  +    },
   );
   
   post_configure();
  @@ -209,7 +212,8 @@
   
       return [@{ $build->clean_files },
               <xs/*.exp>, <xs/*.def>,
  -      map { "$path/$_"} @{ $code->clean_files }];
  +            qw(MANIFEST),
  +            map { "$path/$_"} @{ $code->clean_files }];
   }
   
   sub set_modperl_version {
  @@ -358,7 +362,9 @@
   }
   
   sub MY::postamble {
  -    '';
  +    return <<EOF;
  +mydist : manifest tardist
  +EOF
   }
   
   sub MY::tool_autosplit {
  @@ -389,4 +395,13 @@
       "\t".'PERL="$(PERL)"\\',
       "\t".'DEFINE="$(DEFINE)"',
       "";
  +}
  +
  +sub MY::dist_basics {
  +    my $self = shift;
  +    my $str = $self->MM::dist_basics;
  +
  +    $str =~ s/-MExtUtils(::Manifest=mkmanifest)/-Ilib -MModPerl$1/;
  +
  +    $str;
   }
  
  
  

Mime
View raw message