aboutsummaryrefslogtreecommitdiffstats
path: root/docs/buildpod.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@cowu.be>2010-08-23 00:22:09 +0000
committerTom Feist <shabble@cowu.be>2010-08-23 00:22:09 +0000
commit3d619726e5d6e0a769ad705c4a4298f6b28aa743 (patch)
tree056e1136d99d0ea32c99f70ed026a47643c63c3b /docs/buildpod.pl
parentmoved some stuff into General, and started to modify buildpod.pl to render a ... (diff)
downloadirssi-scripts-3d619726e5d6e0a769ad705c4a4298f6b28aa743.tar.gz
irssi-scripts-3d619726e5d6e0a769ad705c4a4298f6b28aa743.zip
lots of doc updates
Diffstat (limited to '')
-rwxr-xr-xdocs/buildpod.pl10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/buildpod.pl b/docs/buildpod.pl
index ce2b2aa..050ea8e 100755
--- a/docs/buildpod.pl
+++ b/docs/buildpod.pl
@@ -19,7 +19,6 @@ sub new {
my $self = shift;
my $obj = $self->SUPER::new(@_);
- $obj->add_css('podstyle.css', 1);
$obj->css_flurry(0);
$obj->javascript_flurry(0);
@@ -83,8 +82,15 @@ sub _write_contents_middle {
package main;
+use File::Copy;
+
my $output_dir = "../../tmp/shab-irssi-scripts/docs/";
my $batchconv = Pod::Simple::HTMLBatch::Custom->new;
+my $css = 'podstyle.css';
-$batchconv->batch_convert([qw/./], $output_dir);
+$batchconv->add_css('podstyle.css', 1);
+$batchconv->batch_convert([qw/./], $output_dir);
+print "Copying CSS...\n";
+copy($css, $output_dir . $css);
+print "Done\n";