r27346 - /trunk/dh-make-perl/dh-make-perl

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Nov 27 09:51:48 UTC 2008


Author: dmn
Date: Thu Nov 27 09:51:46 2008
New Revision: 27346

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27346
Log:
add --dist option

Modified:
    trunk/dh-make-perl/dh-make-perl

Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/dh-make-perl?rev=27346&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Thu Nov 27 09:51:46 2008
@@ -478,7 +478,7 @@
 my ($module_build);
 my ( @docs, @examples, $changelog, @args );
 
-my %opts = ( 'dh' => 7, );
+my %opts = ( 'dh' => 7, dist => '{sid,unstable}' );
 
 my $mod_cpan_version;
 
@@ -584,6 +584,7 @@
 
 my $apt_contents = AptContents->new({
     homedir => $homedir,
+    dist    => $opts{dist},
 });
 
 push @depends, Dep->new('${shlib:Depends}') if $arch eq 'any';
@@ -668,6 +669,7 @@
                [ --requiredeps ] [ --core-ok ] [ --basepkgs PKGSLIST ]
                [ --closes ITPBUG ] [ --packagename|-p PACKAGENAME ]
                [ --email|-e EMAIL ] [ --pkg-perl ] [ --dh <ver> ]
+               [ --dist <pattern> ]
 USAGE
 }
 
@@ -2099,6 +2101,15 @@
 documentation and examples are listed in additional files under debian/, instead
 of being listed in debian/rules
 
+=item B<--dist pattern>
+
+Limit the distributions whose C<Contents> files are parsed. The argument is a shell pattern.
+
+Default: C<{sid,unstable}>.
+
+Example:
+    dh-make-perl --dist etch
+
 =back
 
 =head1 DESCRIPTION




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