You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2002/06/29 21:20:47 UTC
cvs commit: modperl-docs/bin docset_build
stas 2002/06/29 12:20:47
Modified: bin docset_build
Log:
sync with DocSet
Revision Changes Path
1.4 +11 -9 modperl-docs/bin/docset_build
Index: docset_build
===================================================================
RCS file: /home/cvs/modperl-docs/bin/docset_build,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- docset_build 14 Mar 2002 09:16:32 -0000 1.3
+++ docset_build 29 Jun 2002 19:20:47 -0000 1.4
@@ -141,6 +141,7 @@
### Create the PS/PDF DocSet
######################################
if (DocSet::RunTime::get_opts('generate_ps')) {
+ DocSet::RunTime::registers_reset();
my $docset = DocSet::DocSet::PSPDF->new($config_file);
$docset->set_dir(abs_root => ".");
$docset->scan;
@@ -153,15 +154,16 @@
######################################
### Create the HTML DocSet
######################################
-# scan for available configs (books/chapters)
-my $docset = DocSet::DocSet::HTML->new($config_file);
-
-# must be a relative path to be able to move the generated code from
-# location to location, without adjusting the links
-$docset->set_dir(abs_root => ".");
-$docset->scan;
-$docset->render;
-
+{
+ # scan for available configs (books/chapters)
+ DocSet::RunTime::registers_reset();
+ my $docset = DocSet::DocSet::HTML->new($config_file);
+ # must be a relative path to be able to move the generated code from
+ # location to location, without adjusting the links
+ $docset->set_dir(abs_root => ".");
+ $docset->scan;
+ $docset->render;
+}
# go back to where you have from
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org