[SCM] Debian packaging of dh-make-perl branch, master, updated. debian/0.76-1-25-gfc8aba2

Axel Beckert abe at deuxchevaux.org
Tue Mar 5 23:58:33 UTC 2013


The following commit has been merged in the master branch:
commit fc8aba2895a2e031fda6694d61dc011e7d8b28e3
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Mar 6 00:49:41 2013 +0100

    D:C:make: Call git_add_debian before {build,install}_package
    
    Otherwise files generated during the package build process will be
    added to the git repository.

diff --git a/debian/changelog b/debian/changelog
index af1c78f..ab7beb3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,11 @@ dh-make-perl (0.77-1) UNRELEASED; urgency=low
   * DhMakePerl::Command::Packaging: replace "This library" with the module
     name in the long description, like we already did with "This module".
 
+  [ Axel Beckert ]
+  * DhMakePerl::Command::make: Call git_add_debian before build_package
+    and install_package to not add files generated during the package
+    build process to the git repository.
+
  -- Salvatore Bonaccorso <carnil at debian.org>  Wed, 19 Sep 2012 15:11:17 +0200
 
 dh-make-perl (0.76-1) unstable; urgency=low
diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index 4ce91d4..1f2bbce 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -230,14 +230,14 @@ sub execute {
         }
     }
 
+    $self->git_add_debian($tarball)
+        if $self->cfg->{vcs} eq 'git';
+
     $self->build_package
         if $self->cfg->build or $self->cfg->install;
     $self->install_package if $self->cfg->install;
     print "--- Done\n" if $self->cfg->verbose;
 
-    $self->git_add_debian($tarball)
-        if $self->cfg->{vcs} eq 'git';
-
     $self->package_already_exists($apt_contents) 
         or $self->modules_already_packaged($apt_contents);
 

-- 
Debian packaging of dh-make-perl



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