summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/MakeMaker/FAQ.pod
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ExtUtils/MakeMaker/FAQ.pod')
-rw-r--r--lib/ExtUtils/MakeMaker/FAQ.pod23
1 files changed, 15 insertions, 8 deletions
diff --git a/lib/ExtUtils/MakeMaker/FAQ.pod b/lib/ExtUtils/MakeMaker/FAQ.pod
index 38c50cef04..ca9d53fc61 100644
--- a/lib/ExtUtils/MakeMaker/FAQ.pod
+++ b/lib/ExtUtils/MakeMaker/FAQ.pod
@@ -1,6 +1,6 @@
package ExtUtils::MakeMaker::FAQ;
-(our $VERSION) = sprintf "%03d", q$Revision: 1.6 $ =~ /Revision:\s+(\S+)/;
+(our $VERSION) = sprintf "%03d", q$Revision: 1.7 $ =~ /Revision:\s+(\S+)/;
1;
__END__
@@ -73,28 +73,35 @@ by hand is a pain and you often forget.
Simplest way to do it automatically is to use your version control
system's revision number (you are using version control, right?).
-In CVS and RCS you use $Revision: 1.6 $ writing it like so:
+In CVS and RCS you use $Z<>Revision$ writing it like so:
- $VERSION = sprintf "%d.%03d", q$Revision: 1.6 $ =~ /(\d+)/g;
+ $VERSION = sprintf "%d.%03d", q$Revision$ =~ /(\d+)/g;
-On your next check in, $Revision: 1.6 $ will magically be expanded to contain
+On your next check in, $Z<>Revision$ will magically be expanded to contain
the current revision #.
- $VERSION = sprintf "%d.%03d", q$Revision: 1.6 $ =~ /(\d+)/g;
+ $VERSION = sprintf "%d.%03d", q$Revision: 1.7 $ =~ /(\d+)/g;
-Every time the file is checked in the $Revision: 1.6 $ will be updated,
+Every time the file is checked in the $Z<>Revision$ will be updated,
updating your $VERSION.
In CVS version 1.9 is followed by 1.10. Since CPAN compares version
numbers numerically we use a sprintf() to convert 1.9 to 1.009 and
1.10 to 1.010 which compare properly.
-If branches are involved (ie. $Revision: 1.5.3.4) its a little more
+If branches are involved (ie. $Z<>Revision: 1.5.3.4) its a little more
complicated.
# must be all on one line or MakeMaker will get confused.
- $VERSION = do { my @r = (q$Revision: 1.6 $ =~ /\d+/g); sprintf "%d."."%03d" x $#r, @r };
+ $VERSION = do { my @r = (q$Revision$ =~ /\d+/g); sprintf "%d."."%03d" x $#r, @r };
+=item What's this F<META.yml> thing and how did it get in my F<MANIFEST>?!
+
+F<META.yml> is a module meta-data file pioneered by Module::Build and
+automatically generated as part of the 'distdir' target (and thus
+'dist'). See L<ExtUtils::MakeMaker/"Module Meta-Data">.
+
+To shut off its generation, pass the C<NO_META> flag to C<WriteMakefile()>.
=back