Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

something on cpan to autogenerate Makefile.PL from existing distro?

by leocharre (Priest)
on Oct 02, 2009 at 13:32 UTC ( [id://798855]=perlquestion: print w/replies, xml ) Need Help??

leocharre has asked for the wisdom of the Perl Monks concerning the following question:

I have this distro of customized imperfect distro tools under LEOCHARRE::Dev. One of them I use a ton, it's pmmakefile, it analizes a filesystem hierarchy and interprets it as a perl distro, and spits a Makefile.PL to stdout.

It fills in deps, versions, some other stuff, like license etc. As stupid as it sounds, it saves me time.

I'm considering polishing it up and rewriting as its own module.

I'm looking on something in cpan that already does that.. Is there something I am missing? Some ExtUtils::MakeMaker::AutoMakefile?

  • Comment on something on cpan to autogenerate Makefile.PL from existing distro?

Replies are listed 'Best First'.
Re: something on cpan to autogenerate Makefile.PL from existing distro?
by Bloodnok (Vicar) on Oct 02, 2009 at 20:08 UTC
    It sounds too useful not to already exist ... somewhere.

    Thing is though, does it supplement or supplant h2xs ?

    A user level that continues to overstate my experience :-))
Re: something on cpan to autogenerate Makefile.PL from existing distro?
by Anonymous Monk on Oct 03, 2009 at 01:06 UTC
    I think scriptdist is close
    $$ scriptdist footest.pl Quiet is 0 Home directory is RC directory is /.scriptdist The environment variable HOME has no value, so I will look in the current directory for /.scriptdist and /.scriptdistrc. Set the HOME environment variable to choose another directory. Processing footest.pl... Making directory footest.pl.d... Making directory footest.pl.d/t... RC directory is /.scriptdist cwd is ~/footest Checking for file [.cvsignore]... Adding file [.cvsignore]... Checking for file [.releaserc]... Adding file [.releaserc]... Checking for file [Changes]... Adding file [Changes]... Checking for file [MANIFEST.SKIP]... Adding file [MANIFEST.SKIP]... Checking for file [Makefile.PL]... Adding file [Makefile.PL]... Checking for file [t/compile.t]... Adding file [t/compile.t]... Checking for file [t/pod.t]... Adding file [t/pod.t]... Checking for file [t/prereq.t]... Adding file [t/prereq.t]... Checking for file [t/test_manifest]... Adding file [t/test_manifest].. +. Adding [footest.pl]... Copying script... Opening input [footest.pl] for output [footest.pl.d/footest.pl] Copied [footest.pl] with 0 replacements Creating MANIFEST...
    Patched to use Test::XT - Best Practice for Author Tests, and combine with Module::Install::DSL (Module::Install extends not-typing lead over Module::Build), and Makefile.PL compacts into
    use inc::Module::Install::DSL 0.81; all_from lib/My/Module.pm requires_from lib/My/Module.pm test_requires Test::More 0.42
    Fancy :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://798855]
Approved by ww
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-20 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found