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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]