Update of /cvsroot/module-build/Module-Build/lib/Module
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10734/lib/Module
Modified Files:
Build.pm
Log Message:
Changing to a more positive outlook, we change the option 'skip_rcfile' to 'use_rcfile'.
Fix a bug in the option translation code that didn't properly translate dashes to underscores when the option was an invertered boolean (i.e. an option beginning with 'no' or 'no-').
Modify tests so that Module::Build objects are constructed with 'use_rcfile' set to false so that user resource files do not interfere with tests.
Add brief documentation to describe Global commandline options.
Index: Build.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -d -r1.187 -r1.188
--- Build.pm 10 Oct 2005 15:20:36 -0000 1.187
+++ Build.pm 20 Oct 2005 09:26:42 -0000 1.188
@@ -499,6 +499,51 @@
=back
+=head2 General Commandline Options
+
+The following options can be used during any invokation of Build.PL or
+the Build script, during any action.
+
+NOTE: There is some preliminary support for options to use the more
+familiar long option style. Most options can be preceeded with the
+C<--> long option prefix, and the underscores changed to dashes
+(e.g. --ignore-prereqs). Additionally, the argument to boolean options
+is optional (e.g. --verbose), and boolean options can be negated by
+prefixing them with 'no' or 'no-' (e.g. --noverbose or --no-verbose).
+
+=over 4
+
+=item ignore_prereq_conflicts
+
+When set to true, the Build will not abort when any conflicting
+prerequisite is found.
+
+=item ignore_prereq_requires
+
+When set to true, the Build will not abort when any required
+prerequisite is missing.
+
+=item ignore_prereqs
+
+When set to true, the Build will not abort for any type of
+prerequisite is not satisfied.
+
+=item quiet
+
+Suppress informative messages on output.
+
+=item use_rcfile
+
+Load the F<~/.modulebuildrc> option file. This option can be set to
+false to prevent the custom resource file from being loaded.
+
+=item verbose
+
+Display extra information about the Build on output.
+
+=back
+
+
=head2 Default Commandline Options (F<.modulebuildrc>)
When Module::Build starts up, it will look for a file,
|