]> git.vpit.fr Git - perl/modules/Task-Devel-Cover-Recommended.git/blobdiff - samples/generate.pl
Also set BUILD_PREREQS in Makefile.PL
[perl/modules/Task-Devel-Cover-Recommended.git] / samples / generate.pl
index 69ed4b8a40cf9352c7c3197c2fe332eb23702063..fdeb051eb4a63369a12f4c2a93f4b1b4e2111c5c 100644 (file)
@@ -286,6 +286,11 @@ __BUILD_PREREQS_POD__
 
 __RUN_PREREQS_POD__
 
+=head1 CAVEATS
+
+Note that run-time dependencies that are only recommended by __TARGET_PKG__ may not yet be installed at the time __TARGET_PKG__ is tested, as there is no explicit dependency link between them and in that case most CPAN clients default to install prerequisites in alphabetic order.
+However, they will be installed when __TASK_PKG__ is, thus will be available when you actually use __TARGET_PKG__.
+
 =head1 AUTHOR
 
 Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.
@@ -354,6 +359,7 @@ WriteMakefile(
  VERSION_FROM     => $file,
  ABSTRACT_FROM    => $file,
  PL_FILES         => {},
+ BUILD_REQUIRES   => $BUILD_PREREQS,
  PREREQ_PM        => $RUN_PREREQS,
  MIN_PERL_VERSION => '__PERL_PREREQ__',
  META_MERGE       => \%META,