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

> 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]

Replies are listed 'Best First'.
Re^6: Exclude files and directories in tarfile for CPAN upload
by LanX (Saint) on Oct 28, 2024 at 15:45 UTC
    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.

        Thanks, running perl Makefile.pl prior to make dist did the trick

        Maybe I'll turn Discipulus tutorial into a reveal.js presentation and ask him to make a video out of it =)

        (Just comming back from LPW makes me "talkative" ;)

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