aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2013-10-10 21:14:33 -0400
committerPeter Eisentraut <peter_e@gmx.net>2013-10-10 21:14:33 -0400
commit92c2d2ba3adc966d2eada6e792bdbf80cf7345a4 (patch)
treec6f5907605021fbbf62f8373d8cfb83782defe4a /doc/src
parent5dd41f3574871757e6b8e2a16b3e736fee36c20d (diff)
downloadpostgresql-92c2d2ba3adc966d2eada6e792bdbf80cf7345a4.tar.gz
postgresql-92c2d2ba3adc966d2eada6e792bdbf80cf7345a4.zip
doc: Handle additional character entities for SGML/XML conversion
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 50d9203bbe2..a38a08545e0 100644
--- a/doc/src/sgml/Makefile
+++ b/doc/src/sgml/Makefile
@@ -251,7 +251,7 @@ regress_README.html: regress.sgml
# $(srcdir) on the postgres.sgml dependency in this rule. gmake bug?
postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML)
$(OSX) -D. -x lower $< >postgres.xmltmp
- $(PERL) -p -e 's/\[(amp|copy|egrave|gt|lt|mdash|nbsp|ouml|pi|quot|uuml) *\]/\&\1;/g;' \
+ $(PERL) -p -e 's/\[(aacute|acirc|aelig|agrave|amp|aring|atilde|auml|bull|copy|eacute|egrave|gt|iacute|lt|mdash|nbsp|ntilde|oacute|ocirc|oslash|ouml|pi|quot|scaron|uuml) *\]/\&\1;/gi;' \
-e '$$_ .= qq{<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\n} if $$. == 1;' \
<postgres.xmltmp > $@
rm postgres.xmltmp