Re: Cannot build docs of 9.1 on Windows

From: "MauMau" <maumau307(at)gmail(dot)com>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: "Robert Haas" <robertmhaas(at)gmail(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Cannot build docs of 9.1 on Windows
Date: 2011-05-24 22:40:44
Message-ID: 27F3B1E0CD2249A687739C9253AEE2DA@maumau
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew,

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
> builddoc.bat failed on my system and reading it made my head hurt. So I
> did what I've done with other bat files and rewrote it in Perl. The
> result is attached. It works for me, and should be a dropin replacement.
> Just put it in the src/tools/msvc directory and run "perl builddoc.pl".
> Please test it and if it works for you we'll use it and make
> builddoc.bat a thin wrapper like build.bat and vcregress.bat.

It worked successfully! doc\src\sgml\html directory and its contents was
created, and the HTML contents appear to be correct. Thank you very much.
The output of "perl builddoc.pl" was as follows:

--------------------------------------------------
perl mk_feature_tables.pl YES
../../../src/backend/catalog/sql_feature_packages.txt
../../../src/backend/catalog/sql_features.txt > features-supported.sgmlperl
mk_feature_tables.pl NO
"../../../src/backend/catalog/sql_feature_packages.txt"
"../../../src/backend/catalog/sql_features.txt" > features-unsupported.sgml
perl generate-errcodes-table.pl "../../../src/backend/utils/errcodes.txt" >
errcodes-table.sgml
Running first build...
"D:\pgdev\doctool/openjade-1.3.1/bin/openjade" -V
html-index -wall -wno-unused-param -wno-empty -D . -c
"D:\pgdev\doctool/docbook-dsssl-1.79/catalog" -d stylesheet.dsl -i
output-html -t sgml postgres.sgml 2>&1 | findstr /V "DTDDECL catalog entries
are not supported"
Running collateindex...
perl "D:\pgdev\doctool/docbook-dsssl-1.79/bin/collateindex.pl" -f -g -i
bookindex -o bookindex.sgml HTML.index
Processing HTML.index...
2158 entries loaded...
0 entries ignored...
Done.
Running second build...
"D:\pgdev\doctool/openjade-1.3.1/bin/openjade" -wall -wno-unused-param -wno-empty
-D . -c "D:\pgdev\doctool/docbook-dsssl-1.79/catalog" -d stylesheet.dsl -t
sgml -i output-html -i include-index postgres.sgml 2>&1 | findstr /V
"DTDDECL catalog entries are not supported"
Docs build complete.
--------------------------------------------------

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2011-05-24 23:26:22 Re: adding a new column in IDENTIFY_SYSTEM
Previous Message Robert Haas 2011-05-24 21:51:38 Re: about EDITOR_LINENUMBER_SWITCH