Closed jkeenan closed 3 years ago
grep.metacpan.org helped me out here, leading me to this prior art: https://metacpan.org/release/Bundle-CPAN/source/Makefile.PL#L114
Pull request https://github.com/timbunce/devel-nytprof/pull/185 should take care of this.
Handled in CPAN release 6.10. Closing.
When I go to prepare a new release of Devel-NYTProf, I run
make dist
. In the generatedMakefile
, thedist
target is defined as:$(DIST_DEFAULT)
, in turn, is (user-)defined inMakefile.PL
:So when I call
make dist
, I am in effect runningmake clean
,make distcheck
,make disttest
andtardist
. Of these 4 "sub-targets",clean
is defined inMakefile.PL
; the other 3 are generated by ExtUtils::MakeMaker.What I would like to do is to create a new "sub-target",
disttest_author
, to substitute fordisttest
. In the generatedMakefile
,disttest
is defined thus:I would like
disttest_author
to be exactly the same as this except fortest_author
rather than simplytest
in the 4th line. In this way, before creating the tarball I have run certain unit tests and test files that are relevant to me as releasor but not to an end-user.To do this, I need to figure out a way to define
disttest_author
insideMakefile.PL
. I do not know how to do that. Does anyone have prior art to suggest?Thank you very much. Jim Keenan