r53031 - in /trunk/dh-make-perl: debian/changelog lib/DhMakePerl.pm

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Thu Feb 18 20:12:47 UTC 2010


Author: gregoa
Date: Thu Feb 18 20:12:13 2010
New Revision: 53031

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53031
Log:
DhMakePerl: update_file_list() allows to --refresh --only docs and
examples separately now.

Modified:
    trunk/dh-make-perl/debian/changelog
    trunk/dh-make-perl/lib/DhMakePerl.pm

Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=53031&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Thu Feb 18 20:12:13 2010
@@ -1,5 +1,6 @@
 dh-make-perl (0.64) UNRELEASED; urgency=low
 
+  [ Damyan Ivanov ]
   * DhMakePerl: drop unused extract_changelog()
   * DhMakePerl: fix_rules() replaced with update_file_list() for updating
     examples and docs and checks for deprecated/obsolete entries in
@@ -15,6 +16,10 @@
     + looks for all kinds of WNPP bugs
     + uses the lists on http://www.debian.org/devel/wnpp
   * add --source-format option (defaults to "1.0")
+
+  [ gregor herrmann ]
+  * DhMakePerl: update_file_list() allows to --refresh --only docs and
+    examples separately now.
 
  -- Damyan Ivanov <dmn at debian.org>  Fri, 05 Feb 2010 09:05:25 +0200
 

Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=53031&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Thu Feb 18 20:12:13 2010
@@ -228,8 +228,12 @@
             }
         }
 
-        if ( 'docs' ~~ $self->cfg->only or 'examples' ~~ $self->cfg->only) {
-            $self->update_file_list( docs => \@docs, examples => \@examples );
+        if ( 'examples' ~~ $self->cfg->only) {
+            $self->update_file_list( examples => \@examples );
+        }
+
+        if ( 'docs' ~~ $self->cfg->only) {
+            $self->update_file_list( docs => \@docs );
         }
 
         if ( 'copyright' ~~ $self->cfg->only ) {




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