Re: Cannot build docs of 9.1 on Windows - Mailing list pgsql-hackers

From MauMau
Subject Re: Cannot build docs of 9.1 on Windows
Date
Msg-id 27F3B1E0CD2249A687739C9253AEE2DA@maumau
Whole thread Raw
In response to Re: Cannot build docs of 9.1 on Windows  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
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.
--------------------------------------------------



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: about EDITOR_LINENUMBER_SWITCH
Next
From: Jaime Casanova
Date:
Subject: Re: adding a new column in IDENTIFY_SYSTEM