Package: erlang / 1:21.2.6+dfsg-1

docs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Author: Sergei Golovan <sgolovan@debian.org>
Description: Fixes a bug with .RE macro in the Erlang manpages
 and a few bugs with docs installation.
Last-modified: Thu, 09 Dec 2010 10:45:56 +0300

--- a/lib/erl_docgen/priv/xsl/db_man.xsl
+++ b/lib/erl_docgen/priv/xsl/db_man.xsl
@@ -523,7 +523,7 @@
         <xsl:text>&#10;.RS 2</xsl:text>
         <xsl:text>&#10;.LP&#10;</xsl:text>
         <xsl:value-of select="$content"/>
-        <xsl:text>&#10;.RE</xsl:text>
+        <xsl:text>&#10;.RE&#10;</xsl:text>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
@@ -859,7 +859,7 @@
   <xsl:template match="desc">
     <xsl:text>&#10;.RS</xsl:text>
     <xsl:apply-templates/>
-    <xsl:text>&#10;.RE</xsl:text>
+    <xsl:text>&#10;.RE&#10;</xsl:text>
   </xsl:template>
 
 
--- a/lib/megaco/doc/src/Makefile
+++ b/lib/megaco/doc/src/Makefile
@@ -159,8 +159,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"
 
 release_spec:
 
--- a/lib/stdlib/doc/src/re.xml
+++ b/lib/stdlib/doc/src/re.xml
@@ -594,7 +594,7 @@
               to match before it. Setting this without <c>multiline</c> (at
               compile time) causes circumflex never to match. This option only
               affects the behavior of the circumflex metacharacter. It does not
-              affect \A.</p>
+              affect \\A.</p>
           </item>
           <tag><c>noteol</c></tag>
           <item>
@@ -603,7 +603,7 @@
               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.</p>
+              metacharacter. It does not affect \\Z or \\z.</p>
           </item>
           <tag><c>report_errors</c></tag>
           <item>
--- a/lib/tools/Makefile
+++ b/lib/tools/Makefile
@@ -24,7 +24,7 @@
 # Macros
 # ----------------------------------------------------
 
-SUB_DIRECTORIES = c_src src doc/src examples emacs
+SUB_DIRECTORIES = c_src src examples emacs doc/src
 
 include vsn.mk
 VSN = $(TOOLS_VSN)