stas 02/01/24 08:32:12 Modified: bin docset_build Log: - build pdf first, so we can link to it Revision Changes Path 1.2 +14 -12 modperl-docs/bin/docset_build Index: docset_build =================================================================== RCS file: /home/cvs/modperl-docs/bin/docset_build,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- docset_build 5 Jan 2002 19:29:53 -0000 1.1 +++ docset_build 24 Jan 2002 16:32:12 -0000 1.2 @@ -12,6 +12,8 @@ use strict; +require 5.005_03; + use DocSet::5005compat; use warnings; require Cwd; @@ -135,18 +137,6 @@ ###################################### -### 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; - -###################################### ### Create the PS/PDF DocSet ###################################### if (DocSet::RunTime::get_opts('generate_ps')) { @@ -156,8 +146,20 @@ $docset->render; } +# HTML DocSet is rendered last, since it may need to link to the +# products of previously rendered DocSets, e.g. PDF files. +###################################### +### 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;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]