mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
doc: Handle additional character entities for SGML/XML conversion
This commit is contained in:
parent
5dd41f3574
commit
92c2d2ba3a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user