[libconfig-model-dpkg-perl] 11/19: Build.PL: fix pod doc re-generation
dod at debian.org
dod at debian.org
Sun Jan 3 11:44:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.
commit c15faea47806d48fa9dc7069587b4b8ceec38be4
Author: Dominique Dumont <dod at debian.org>
Date: Sat Jan 2 18:46:55 2016 +0100
Build.PL: fix pod doc re-generation
---
Build.PL | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/Build.PL b/Build.PL
index 08da525..db93c14 100644
--- a/Build.PL
+++ b/Build.PL
@@ -24,12 +24,15 @@ use strict;
require 5.010001 ;
-my $code = 'sub ACTION_build {
+my $code = << 'EOC';
+sub ACTION_build {
my $self = shift;
# below requires Config::Model 2.026, and need to use local library
- system ( $^X, qw!-Ilib -S cme gen-class-pod! ) ;
+ system ($^X, '-MConfig::Model::Utils::GenClassPod', '-e','gen_class_pod();') == 0
+ or die "gen-class-pod failed: $?";
$self->SUPER::ACTION_build;
-}';
+};
+EOC
my $class = Module::Build->subclass(
class => "Module::Build::Custom",
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git
More information about the Pkg-perl-cvs-commits
mailing list