I am trying to create two Perl modules for distribution both as a tarball and a debian package. Using Module::Build, I have succeeded with the first task, even putting some extra images files in the right location. When using new, I pass in create_makefile_pl => 'passthrough' which I would think is all that is needed to create a makefile. Perhaps I am naive, and hope to receive enlightenment.
doug
use strict; use Module::Build; my $build = Module::Build->new ( module_name => 'CLQ::QGraphGnuplot', license => 'GPL2.0', create_makefile_pl => 'passthrough', dist_author => 'sweetser@alum.mit.edu', dist_version_from => 'lib/CLQ/QGraphGnuplot.pm', include_dirs => ['Images', 'Html_templates'], requires => { 'Data::Dumper' => 0, 'FileHandle' => 0, 'File::Basename' => 0, 'File::Find' => 0, 'File::Spec' => 0, 'List::Util' => 0 } ); my $build2 = Module::Build->new ( module_name => 'CLQ::QGraphImagemagick', license => 'GPL2.0', create_makefile_pl => 'passthrough', dist_author => 'sweetser@alum.mit.edu', dist_version_from => 'lib/CLQ/QGraphImagemagick.pm', ); push @{$build->build_elements}, 'png', 'html'; $build2->create_build_script; $build->create_build_script;
In reply to Build.PL not generating Makefile.PL by sweetser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |