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 ...@@ -126,8 +126,8 @@ bookindex.sgml: HTML.index
# changes. # changes.
version.sgml: $(top_srcdir)/configure version.sgml: $(top_srcdir)/configure
{ \ { \
echo "<!entity version \"$(VERSION)\">"; \ echo "<!ENTITY version \"$(VERSION)\">"; \
echo "<!entity majorversion \"$(MAJORVERSION)\">"; \ echo "<!ENTITY majorversion \"$(MAJORVERSION)\">"; \
} > $@ } > $@
features-supported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_packages.txt $(top_srcdir)/src/backend/catalog/sql_features.txt 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) ...@@ -220,9 +220,9 @@ HISTORY.html: generate_history.pl $(wildcard $(srcdir)/release*.sgml)
rm tempfile_HISTORY.sgml rm tempfile_HISTORY.sgml
regress_README.html: regress.sgml regress_README.html: regress.sgml
( echo '<!doctype chapter PUBLIC "-//OASIS//DTD DocBook V4.2//EN" ['; \ ( echo '<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.2//EN" ['; \
echo '<!entity % standalone-ignore "IGNORE">'; \ echo '<!ENTITY % standalone-ignore "IGNORE">'; \
echo '<!entity % standalone-include "INCLUDE"> ]>'; \ echo '<!ENTITY % standalone-include "INCLUDE"> ]>'; \
cat $< ) >tempfile_regress_README.sgml cat $< ) >tempfile_regress_README.sgml
$(JADE.text) -V nochunks tempfile_regress_README.sgml > $@ $(JADE.text) -V nochunks tempfile_regress_README.sgml > $@
rm tempfile_regress_README.sgml rm tempfile_regress_README.sgml
......
This diff is collapsed.
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [ <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [
<!entity % version SYSTEM "version.sgml"> <!ENTITY % version SYSTEM "version.sgml">
%version; %version;
<!entity % filelist SYSTEM "filelist.sgml"> <!ENTITY % filelist SYSTEM "filelist.sgml">
%filelist; %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 ...@@ -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" [ <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [
<!entity % version SYSTEM "version.sgml"> <!ENTITY % version SYSTEM "version.sgml">
%version; %version;
<!-- <!--
...@@ -32,8 +32,8 @@ equivalent of C's #ifdef and friends. The other end of this is in ...@@ -32,8 +32,8 @@ equivalent of C's #ifdef and friends. The other end of this is in
installation.sgml. installation.sgml.
--> -->
<!entity % standalone-ignore "IGNORE"> <!ENTITY % standalone-ignore "IGNORE">
<!entity % standalone-include "INCLUDE"> <!ENTITY % standalone-include "INCLUDE">
<!-- <!--
When you're building the full documentation set, you want to flip the 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