Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7380/lib/Module/Build
Modified Files:
Authoring.pod Base.pm
Log Message:
Add a 'build_class' parameter
Index: Base.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v
retrieving revision 1.358
retrieving revision 1.359
diff -C2 -d -r1.358 -r1.359
*** Base.pm 6 Dec 2004 23:03:08 -0000 1.358
--- Base.pm 7 Dec 2004 03:25:53 -0000 1.359
***************
*** 99,102 ****
--- 99,103 ----
include_dirs => [],
recurse_into => [],
+ build_class => $package,
%input,
},
***************
*** 443,446 ****
--- 444,448 ----
dist_version_from
dist_author
+ build_class
dist_abstract
requires
***************
*** 965,969 ****
my ($self, $fh) = @_;
! my $build_package = ref($self);
my %q = map {$_, $self->$_()} qw(config_dir base_dir);
--- 967,971 ----
my ($self, $fh) = @_;
! my $build_package = $self->build_class;
my %q = map {$_, $self->$_()} qw(config_dir base_dir);
Index: Authoring.pod
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Authoring.pod,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Authoring.pod 6 Dec 2004 13:38:08 -0000 1.1
--- Authoring.pod 7 Dec 2004 03:25:53 -0000 1.2
***************
*** 163,166 ****
--- 163,177 ----
checking on binary/packaged distributions of the module.
+ =item build_class
+
+ The Module::Build class or subclass to use in the build
+ script. Defaults to "Module::Build" or the class name passed to or
+ created by a call to C<subclass()>. This property is useful if you're
+ writing a custom Module::Build subclass and have a bootstrapping
+ problem--that is, your subclass requires modules that may not be
+ installed when C<perl Build.PL> is executed, but you've listed in
+ C<build_requires> so that they should be available when C<./Build> is
+ executed.
+
=item c_source
|