[libpdl-linearalgebra-perl] 18/24: Add new POD generate support for .pd file (thanks kmx)

Dima Kogan dima at secretsauce.net
Mon Aug 31 06:57:20 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 e96fb7662196ff7a6172c5fa601d9bc266f42265
Author: Chris Marshall <devel.chm.01 at gmail.com>
Date:   Sun Jun 7 16:09:47 2015 -0400

    Add new POD generate support for .pd file (thanks kmx)
---
 Changes     | 1 +
 Makefile.PL | 7 +------
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/Changes b/Changes
index a1eb0d5..ce720b5 100644
--- a/Changes
+++ b/Changes
@@ -3,6 +3,7 @@ Revision history for Perl extension PDL::LinearAlgebra
 
 0.09
 
+  * Use new GENERATE feature to make POD from PP files
   * Use correct meta-spec for META_MERGE
   * Require constant 1.03 - older version do not work with hashes.
 
diff --git a/Makefile.PL b/Makefile.PL
index bec063d..d2c4422 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -21,12 +21,7 @@ WriteMakefile(
         'BUILD_REQUIRES' =>  { "PDL" => 0, },
 	'PREREQ_PM' => { "PDL" => 0, "constant" => 1.03, },
         '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'
-                  }
+        'dist' => { PREOP=>'$(PERL) -MPDL::Core::Dev -e pdlpp_mkgen $(DISTVNAME)' }, # GENERATED subdir in dist tarball
        );
 __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