Commit fc3459d7 authored by Alvaro Herrera's avatar Alvaro Herrera

Uppercase <!ENTITY> and <!DOCTYPE> tags in SGML source

This improves compatibility with external toolchains, such as those used
by some documentation translation tools.

Gabriele Bartolini
parent 595a441a
......@@ -126,8 +126,8 @@ bookindex.sgml: HTML.index
# changes.
version.sgml: $(top_srcdir)/configure
{ \
echo "<!entity version \"$(VERSION)\">"; \
echo "<!entity majorversion \"$(MAJORVERSION)\">"; \
echo "<!ENTITY version \"$(VERSION)\">"; \
echo "<!ENTITY majorversion \"$(MAJORVERSION)\">"; \
} > $@
features-supported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_packages.txt $(top_srcdir)/src/backend/catalog/sql_features.txt
......@@ -220,9 +220,9 @@ HISTORY.html: generate_history.pl $(wildcard $(srcdir)/release*.sgml)
rm tempfile_HISTORY.sgml
regress_README.html: regress.sgml
( echo '<!doctype chapter PUBLIC "-//OASIS//DTD DocBook V4.2//EN" ['; \
echo '<!entity % standalone-ignore "IGNORE">'; \
echo '<!entity % standalone-include "INCLUDE"> ]>'; \
( echo '<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.2//EN" ['; \
echo '<!ENTITY % standalone-ignore "IGNORE">'; \
echo '<!ENTITY % standalone-include "INCLUDE"> ]>'; \
cat $< ) >tempfile_regress_README.sgml
$(JADE.text) -V nochunks tempfile_regress_README.sgml > $@
rm tempfile_regress_README.sgml
......
This diff is collapsed.
......@@ -2,12 +2,12 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [
<!entity % version SYSTEM "version.sgml">
<!ENTITY % version SYSTEM "version.sgml">
%version;
<!entity % filelist SYSTEM "filelist.sgml">
<!ENTITY % filelist SYSTEM "filelist.sgml">
%filelist;
<!entity reference SYSTEM "reference.sgml">
<!ENTITY reference SYSTEM "reference.sgml">
]>
......
This diff is collapsed.
......@@ -21,7 +21,7 @@ Running 'make INSTALL' in the doc/src/sgml directory will do 1 through
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [
<!entity % version SYSTEM "version.sgml">
<!ENTITY % version SYSTEM "version.sgml">
%version;
<!--
......@@ -32,8 +32,8 @@ equivalent of C's #ifdef and friends. The other end of this is in
installation.sgml.
-->
<!entity % standalone-ignore "IGNORE">
<!entity % standalone-include "INCLUDE">
<!ENTITY % standalone-ignore "IGNORE">
<!ENTITY % standalone-include "INCLUDE">
<!--
When you're building the full documentation set, you want to flip the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment