r63743 - /trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Oct 15 10:26:48 UTC 2010


Author: dmn
Date: Fri Oct 15 10:26:28 2010
New Revision: 63743

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63743
Log:
check_for_xs: omit cheching in 'win32' directories

Rationale: Windows binary laucners are of no interest to us as we don't build
them.

In theory, the C files there could be part of the module even on non-Windows
(for example by implementing communication with remote windows processes), but
it is unlikely that these would be the only C files so arch detecthin should
still work.

Modified:
    trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm

Modified: trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm?rev=63743&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm Fri Oct 15 10:26:28 2010
@@ -570,7 +570,7 @@
     # we need the relative path here. Otherwise the check will give bogus
     # results if the working dir matches the pattern
     my $rel_path = substr( $File::Find::name, length( $self->main_dir ) );
-    ( $rel_path !~ m{/(?:examples?|samples|eg|t|docs?)/} )
+    ( $rel_path !~ m{/(?:examples?|samples|eg|t|docs|win32?)/} )
             and
     ( !$self->cfg->exclude or $rel_path !~ $self->cfg->exclude )
         && /\.(xs|c|cpp|cxx)$/i




More information about the Pkg-perl-cvs-commits mailing list