[libpdl-linearalgebra-perl] 12/24: Add POD generation to distribution for metacpan.org and search.cpan.org

Dima Kogan dima at secretsauce.net
Mon Aug 31 06:57:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to branch realupstream
in repository libpdl-linearalgebra-perl.

commit 5d37b6837174c72e647a259a49f6be7a11925ecf
Author: kmx <kmx at cpan.org>
Date:   Mon Jan 5 09:32:53 2015 -0500

    Add POD generation to distribution for metacpan.org and search.cpan.org
---
 Makefile.PL | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile.PL b/Makefile.PL
index 543a615..939a7c0 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -20,6 +20,12 @@ WriteMakefile(
         'BUILD_REQUIRES' =>  { "PDL" => 0, },
 	'PREREQ_PM' => { "PDL" => 0, },
         'DIR' =>  [ qw/Trans Real Complex Special/],
+        'dist' => { PREOP=> '$(MKPATH) $(DISTVNAME)/GENERATED'
+                            . ' && $(PERL) "-MPDL::PP qw[PDL::LinearAlgebra::Trans   PDL::LinearAlgebra::Trans   $(DISTVNAME)/GENERATED/Trans]"   Trans/trans.pd'
+                            . ' && $(PERL) "-MPDL::PP qw[PDL::LinearAlgebra::Real    PDL::LinearAlgebra::Real    $(DISTVNAME)/GENERATED/Real]"    Real/real.pd'
+                            . ' && $(PERL) "-MPDL::PP qw[PDL::LinearAlgebra::Complex PDL::LinearAlgebra::Complex $(DISTVNAME)/GENERATED/Complex]" Complex/complex.pd'
+                            . ' && $(RM_F) $(DISTVNAME)/GENERATED/*.xs'
+                  }
        );
 __END__
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-linearalgebra-perl.git



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