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