summaryrefslogtreecommitdiffstats
path: root/scripts/postproc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/postproc.pl')
-rwxr-xr-xscripts/postproc.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/postproc.pl b/scripts/postproc.pl
index 5c33c72..cceecdb 100755
--- a/scripts/postproc.pl
+++ b/scripts/postproc.pl
@@ -18,14 +18,15 @@
use strict;
use warnings;
-use MarkdownBook::Book::HTML;
+use MarkdownBook::Book;
+my $format;
my $doc_dir;
my $book;
-($doc_dir) = @ARGV;
+($format, $doc_dir) = @ARGV;
-$book = MarkdownBook::Book::HTML->new($doc_dir);
+$book = MarkdownBook::Book->new($format, $doc_dir);
$book->parse();
$book->output();