Hello:

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.