in reply to Re^3: Exclude files and directories in tarfile for CPAN upload
in thread Exclude files and directories in tarfile for CPAN upload

> So do you used Module::Starter ?

well yes, but I think it's for getting started only and not for publishing.

> Go canonical and use my guide ;)

Grazie mille,

Tho I'm performing under pressure now to get my bohemian rapsody uploaded...

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

  • Comment on Re^4: Exclude files and directories in tarfile for CPAN upload

Replies are listed 'Best First'.
Re^5: Exclude files and directories in tarfile for CPAN upload
by choroba (Cardinal) on Oct 25, 2024 at 13:07 UTC
    > not for publishing.

    I created all my distributions with Module::Starter and I always just run

    make dist
    and upload the result to PAUSE. What more do you need for publishing?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      Excuse my ignorance, I rarely use make, not a C hacker.

      There is no dist-file to make.

      Was it generated by module-starter in your case???

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery

        I rarely use make, not a C hacker.

        The specific meaning of make dist is described in Discipulus's Day 7: "To create a properly structured CPAN distribution you must run perl Makefile.PL then make dist , this will create a tarball in the current directory that you can share and install using a CPAN client, or even upload to CPAN."

        But, in general, not every argument to make needs to be an explicit filename: it can also be a named target.

        In much the same way that the targets for make test and make install perform specific actions in the normal perl Makefile.PL; make ; make test ; make install incantation, rather than creating files called test and install , the make dist doesn't create a file named dist but rather performs the actions necessary to create the distribution's tarball with the appropriate naming convention for uploading to CPAN.