perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject svn commit: r160126 - perl/modperl/trunk/lib/ModPerl/BuildMM.pm
Date Tue, 05 Apr 2005 03:00:15 GMT
Author: randyk
Date: Mon Apr  4 20:00:15 2005
New Revision: 160126

URL: http://svn.apache.org/viewcvs?view=rev&rev=160126
Log:
Win32 typically doesn't generate nor install man pages.

Modified:
    perl/modperl/trunk/lib/ModPerl/BuildMM.pm

Modified: perl/modperl/trunk/lib/ModPerl/BuildMM.pm
URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/lib/ModPerl/BuildMM.pm?view=diff&r1=160125&r2=160126
==============================================================================
--- perl/modperl/trunk/lib/ModPerl/BuildMM.pm (original)
+++ perl/modperl/trunk/lib/ModPerl/BuildMM.pm Mon Apr  4 20:00:15 2005
@@ -25,6 +25,7 @@
 
 use Apache2::Build ();
 use ModPerl::MM;
+use constant WIN32 => Apache2::Build::WIN32;
 
 our %PM; #add files to installation
 
@@ -245,6 +246,9 @@
                     '$(FULLPERL) -I$(INST_LIB) ' .
                     "-I$apache_test_dir -MModPerl::BuildMM " .
                     "-e ModPerl::BuildMM::glue_pod $pm $podpath $blib";
+
+                # Win32 doesn't normally install man pages
+                next if WIN32;
 
                 # manify while we're at it
                 my (undef, $man, undef) = $blib =~ m!(blib/lib/)(.*)(\.pm)!;



Mime
View raw message