Author: Sergei Golovan <sgolovan@debian.org>
Description: Fixes a bug with .RE macro in the Erlang manpages.
Last-modified:Sat, 27 Feb 2010 09:35:21 +0300
--- erlang-14.a-dfsg.orig/lib/erl_docgen/priv/xsl/db_man.xsl
+++ erlang-14.a-dfsg/lib/erl_docgen/priv/xsl/db_man.xsl
@@ -53,7 +53,7 @@
<xsl:template match="list">
<xsl:text> .RS 2</xsl:text>
<xsl:apply-templates/>
- <xsl:text> .RE</xsl:text>
+ <xsl:text> .RE </xsl:text>
</xsl:template>
<xsl:template match="list/item">
@@ -66,7 +66,7 @@
<xsl:template match="taglist">
<xsl:text> .RS 2</xsl:text>
<xsl:apply-templates select="tag|item"/>
- <xsl:text> .RE</xsl:text>
+ <xsl:text> .RE </xsl:text>
</xsl:template>
<xsl:template match="taglist/tag">
@@ -91,7 +91,7 @@
<xsl:text> .RS 2</xsl:text>
<xsl:text> .LP .LP </xsl:text>
<xsl:value-of select="$content"/>
- <xsl:text> .RE</xsl:text>
+ <xsl:text> .RE </xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -287,7 +287,7 @@
<xsl:text> .TP</xsl:text>
<xsl:text> Types</xsl:text>
<xsl:apply-templates/>
- <xsl:text> .RE</xsl:text>
+ <xsl:text> .RE </xsl:text>
</xsl:template>
@@ -307,7 +307,7 @@
<xsl:template match="desc">
<xsl:text> .RS</xsl:text>
<xsl:apply-templates/>
- <xsl:text> .RE</xsl:text>
+ <xsl:text> .RE </xsl:text>
</xsl:template>
--- erlang-14.a-dfsg.orig/lib/megaco/doc/src/Makefile
+++ erlang-14.a-dfsg/lib/megaco/doc/src/Makefile
@@ -247,8 +247,6 @@
$(INSTALL_DATA) $(INFO_FILE) $(RELSYSDIR)
$(INSTALL_DIR) $(RELEASE_PATH)/man/man3
$(INSTALL_DATA) $(MAN3DIR)/* $(RELEASE_PATH)/man/man3
- $(INSTALL_DIR) $(RELSYSDIR)/doc/standard
- $(INSTALL_DATA) $(STANDARDS) $(RELSYSDIR)/doc/standard
else
@@ -270,8 +268,6 @@
$(INSTALL_DIR) $(RELEASE_PATH)/man/man3
$(INSTALL_DATA) $(MAN3_FILES) $(RELEASE_PATH)/man/man3
$(INSTALL_DATA) $(TOP_HTML_FILES) $(RELSYSDIR)/doc
- $(INSTALL_DIR) $(RELSYSDIR)/doc/standard
- $(INSTALL_DATA) $(STANDARDS) $(RELSYSDIR)/doc/standard
endif
endif
--- erlang-14.a-dfsg.orig/lib/stdlib/doc/src/re.xml
+++ erlang-14.a-dfsg/lib/stdlib/doc/src/re.xml
@@ -353,7 +353,7 @@
metacharacter should not match before it. Setting this without
<c>multiline</c> (at compile time) causes circumflex never to
match. This option affects only the behavior of the circumflex
- metacharacter. It does not affect \A.</item>
+ metacharacter. It does not affect \\A.</item>
<tag><c>noteol</c></tag>
@@ -362,8 +362,8 @@
match it nor (except in multiline mode) a newline immediately
before it. Setting this without <c>multiline</c> (at compile time)
causes dollar never to match. This option affects only the
- behavior of the dollar metacharacter. It does not affect \Z or
- \z.</item>
+ behavior of the dollar metacharacter. It does not affect \\Z or
+ \\z.</item>
<tag><c>{offset, int()}</c></tag>