perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-2.0/bin mp2bug
Date Thu, 10 Apr 2003 02:00:19 GMT
stas        2003/04/09 19:00:19

  Modified:    .        Makefile.PL Changes
  Added:       bin      mp2bug
  Log:
  Add a script mp2bug and a target 'make bugreport', so people can use
  bugreporting during the build and after modperl is installed.
  
  Revision  Changes    Path
  1.103     +4 -1      modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- Makefile.PL	10 Apr 2003 01:40:12 -0000	1.102
  +++ Makefile.PL	10 Apr 2003 02:00:19 -0000	1.103
  @@ -64,7 +64,7 @@
   my @xs_h_files = map catfile("xs", $_),
       qw(modperl_xs_sv_convert.h modperl_xs_typedefs.h modperl_xs_util.h);
   
  -my @exe_files =  map "bin/$_", qw(mp2doc);
  +my @exe_files =  map "bin/$_", qw(mp2doc mp2bug);
   
   ModPerl::BuildMM::WriteMakefile(
       NAME      => 'mod_perl',
  @@ -393,6 +393,9 @@
   
   xs_generate:
   	$(PERL) build/xs_generate.pl
  +
  +bugreport:
  +	$(PERL) bin/mp2bug
   
   etags:
   	$(SHELL) build/make_etags
  
  
  
  1.169     +3 -0      modperl-2.0/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Changes,v
  retrieving revision 1.168
  retrieving revision 1.169
  diff -u -r1.168 -r1.169
  --- Changes	10 Apr 2003 01:40:12 -0000	1.168
  +++ Changes	10 Apr 2003 02:00:19 -0000	1.169
  @@ -10,6 +10,9 @@
   
   =item 1.99_09-dev
   
  +Add a script mp2bug and a target 'make bugreport', so people can use
  +bugreporting during the build and after modperl is installed. [Stas]
  +
   Add a script mp2doc as a replacement for perldoc (due to 2.0 modules
   living under Apache2, which won't be looked at by perldoc). [Stas]
   
  
  
  
  1.1                  modperl-2.0/bin/mp2bug
  
  Index: mp2bug
  ===================================================================
  #!perl
  
  use strict;
  use warnings FATAL => 'all';
  
  use FindBin;
  
  use constant IS_MOD_PERL_BUILD => -e "$FindBin::Bin/../lib/mod_perl.pm";
  
  if (IS_MOD_PERL_BUILD) {
      unshift @INC, "$FindBin::Bin/../lib";
  }
  else {
      eval { require Apache2 };
      if ($@) {
          die "This script requires mod_perl 2.0\n", "$@";
      }
  }
  
  require Apache::TestReportPerl;
  Apache::TestReportPerl->new(@ARGV)->run;
  
  
  

Mime
View raw message