sweetser has asked for the wisdom of the Perl Monks concerning the following question:
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Build.PL not generating Makefile.PL
by ysth (Canon) on Dec 10, 2006 at 18:13 UTC | |
by sweetser (Acolyte) on Dec 11, 2006 at 01:21 UTC | |
|
Re: Build.PL not generating Makefile.PL
by adrianh (Chancellor) on Dec 11, 2006 at 00:37 UTC |