Re: Cannot build docs of 9.1 on Windows

MauMau <maumau307@gmail.com>

From: "MauMau" <maumau307@gmail.com>
To: "Andrew Dunstan" <andrew@dunslane.net>
Cc: "Robert Haas" <robertmhaas@gmail.com>, <pgsql-hackers@postgresql.org>
Date: 2011-05-24T22:40:44Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. More cleanup of FOREIGN TABLE permissions handling.

Andrew,

From: "Andrew Dunstan" <andrew@dunslane.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.
--------------------------------------------------