Andrew,

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


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to