Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: gzipped tarballs, CPAN, winzip, and all that

by Beatnik (Parson)
on Jan 07, 2003 at 07:51 UTC ( #224901=note: print w/ replies, xml ) Need Help??

in reply to gzipped tarballs, CPAN, winzip, and all that

This may sound a bit silly but I use a make dist and one line in Makefile.PL to do that archiving for me.

use ExtUtils::MakeMaker; #yada yada WriteMakefile( 'NAME' => 'Foo::Bar', 'VERSION_FROM' => '', # finds $VERSION 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => '', # retrieve abstract from module AUTHOR => '') : ()), 'dist' => {COMPRESS=>'gzip',SUFFIX=>'gz'}, );
After a perl Makefile.PL, I just make dist and run to PAUSE to upload the tarball.


... Quidquid perl dictum sit, altum viditur.

Comment on Re: gzipped tarballs, CPAN, winzip, and all that
Select or Download Code
Replies are listed 'Best First'.
Re: Re: gzipped tarballs, CPAN, winzip, and all that
by John M. Dlugosz (Monsignor) on Jan 07, 2003 at 08:16 UTC
    I get "unknown command make" from the command prompt. The NMAKE that comes with the Microsoft C++ compiler is so unlike make (they kind of missed the point; it doesn't do forward-chaining logic if I recall) that I don't think it would work. What 'make' do you use on a Windows system?

      If you have Windows versions of tar and gzip on your path then "nmake dist" will work with the Makefile.PL file shown by Beatnik.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://224901]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-10-06 17:47 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (156 votes), past polls