Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 92c2d2b

Browse files
committed
doc: Handle additional character entities for SGML/XML conversion
1 parent 5dd41f3 commit 92c2d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ regress_README.html: regress.sgml
251251
# $(srcdir) on the postgres.sgml dependency in this rule. gmake bug?
252252
postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML)
253253
$(OSX) -D. -x lower $< >postgres.xmltmp
254-
$(PERL) -p -e 's/\[(amp|copy|egrave|gt|lt|mdash|nbsp|ouml|pi|quot|uuml) *\]/\&\1;/g;' \
254+
$(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;' \
255255
-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;' \
256256
<postgres.xmltmp > $@
257257
rm postgres.xmltmp

0 commit comments

Comments
 (0)