Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29478/lib/Module/Build
Modified Files:
Base.pm
Log Message:
The css argument to Pod::Html is not supported in older versions.
Index: Base.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v
retrieving revision 1.535
retrieving revision 1.536
diff -u -d -r1.535 -r1.536
--- Base.pm 3 Dec 2005 03:08:13 -0000 1.535
+++ Base.pm 4 Dec 2005 03:11:55 -0000 1.536
@@ -2326,11 +2326,12 @@
"--outfile=$outfile",
'--podroot=' . $self->blib,
"--htmlroot=$htmlroot",
- eval {Pod::Html->VERSION(1.03); 1} ?
- ('--header', '--backlink=Back to Top') : (),
);
- push( @opts, "--css=$path2root/". $self->html_css ) if $self->html_css;
+ if ( eval{Pod::Html->VERSION(1.03)} ) {
+ push( @opts, ('--header', '--backlink=Back to Top') );
+ push( @opts, "--css=$path2root/" . $self->html_css) if $self->html_css;
+ }
$self->log_info("HTMLifying $infile -> $outfile\n");
$self->log_verbose("pod2html @opts\n");
|