stas 2004/09/24 18:53:35
Modified: . Makefile.PL Changes ModPerl-Registry Makefile.PL Log: make sure that 'make distclean' cleans all the autogenerated files Revision Changes Path 1.162 +22 -3 modperl-2.0/Makefile.PL Index: Makefile.PL =================================================================== RCS file: /home/cvs/modperl-2.0/Makefile.PL,v retrieving revision 1.161 retrieving revision 1.162 diff -u -u -r1.161 -r1.162 --- Makefile.PL 18 Sep 2004 23:01:17 -0000 1.161 +++ Makefile.PL 25 Sep 2004 01:53:34 -0000 1.162 @@ -29,6 +29,7 @@ use DirHandle (); use File::Copy 'cp'; use File::Basename 'basename'; +use File::Find (); use Apache::Build (); use Apache::TestSmokePerl (); @@ -368,10 +369,28 @@ sub clean_files { my $path = $code->path; + my @files = (); + File::Find::find(sub { push @files, "$File::Find::dir/$_" if -f $_}, + "WrapXS"); + + push @files, map { "xs/$_.h" } + qw(modperl_xs_typedefs modperl_xs_sv_convert); + return [EMAIL PROTECTED] $build->clean_files }, - qw(lib/typemap), - <xs/*.exp>, <xs/*.def>, - map { "$path/$_"} @{ $code->clean_files }]; + @files, + qw(lib/typemap + lib/ModPerl/MethodLookup.pm + t/htdocs/vhost/error_log + t/SMOKE + t/TEST + t/REPORT + ), + <t/htdocs/hooks/startup/open_logs*>, + <t/htdocs/hooks/startup/post_config*>, + <xs/*.exp>, + <xs/*.def>, + map { "$path/$_"} @{ $code->clean_files } + ]; } sub set_modperl_version { 1.498 +3 -0 modperl-2.0/Changes Index: Changes =================================================================== RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.497 retrieving revision 1.498 diff -u -u -r1.497 -r1.498 --- Changes 24 Sep 2004 19:55:35 -0000 1.497 +++ Changes 25 Sep 2004 01:53:34 -0000 1.498 @@ -12,6 +12,9 @@ =item 1.99_17-dev +make sure that 'make distclean' cleans all the autogenerated files +[Stas] + $r->log_reason has been ported and moved out of Apache::compat [Gozer] 1.11 +2 -2 modperl-2.0/ModPerl-Registry/Makefile.PL Index: Makefile.PL =================================================================== RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/Makefile.PL,v retrieving revision 1.10 retrieving revision 1.11 diff -u -u -r1.10 -r1.11 --- Makefile.PL 21 Sep 2004 20:02:31 -0000 1.10 +++ Makefile.PL 25 Sep 2004 01:53:35 -0000 1.11 @@ -17,7 +17,7 @@ "Apache::Test" => "", # any version will do? ); -my @scripts = qw(t/TEST); +my @scripts = qw(t/TEST t/SMOKE); # accept the configs from comman line Apache::TestMM::filter_args(); @@ -40,5 +40,5 @@ }); sub clean_files { - return [EMAIL PROTECTED]; + return [EMAIL PROTECTED], 'Makefile.old']; }