mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 00:08:23 -05: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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user