gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/doc


From: gsasl-commit
Subject: CVS gsasl/doc
Date: Tue, 23 Nov 2004 20:41:53 +0100

Update of /home/cvs/gsasl/doc
In directory dopio:/tmp/cvs-serv7214

Modified Files:
        gdoc 
Log Message:
Sync with libidn.


--- /home/cvs/gsasl/doc/gdoc    2004/10/28 11:44:46     1.5
+++ /home/cvs/gsasl/doc/gdoc    2004/11/23 19:41:53     1.6
@@ -161,10 +161,10 @@
 $blankline_sgml = "</para><para>\n";
 
 # these are pretty rough
-%highlights_man = ( "\\s*" .$type_constant . "\\s*", "\\n.I \\\"\$1\\\"\\n",
-                   $type_func . "\\s*", "\\n.B \\\"\$1\\\"\\n",
-                   $type_struct . "\\s*", "\\n.I \\\"\$1\\\"\\n",
-                   $type_param."([\.\, ]*)\n?", "\\n.I \\\"\$1\$2\\\"\\n" );
+%highlights_man = ( $type_constant, "\\\\fB\$1\\\\fP",
+                   $type_func, "\\\\fB\$1\\\\fP",
+                   $type_struct, "\\\\fB\$1\\\\fP",
+                   $type_param, "\\\\fI\$1\\\\fP" );
 $blankline_man = "";
 
 # text-mode
@@ -594,11 +594,17 @@
     my ($parameter, $section);
     my $count;
 
+    print ".\\\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.\n";
     print ".TH \"$args{'function'}\" 3 \"$args{'sourceversion'}\" \"". 
$args{'module'} . "\" \"". $args{'module'} . "\"\n";
 
     print ".SH NAME\n";
 
-    print $args{'function'}."\n";
+    print $args{'function'};
+    if ($args{'purpose'}) {
+       print " \\- " . $args{'purpose'} . "\n";
+    } else {
+       print " \\- API function\n";
+    }
 
     print ".SH SYNOPSIS\n";
     print ".B #include <". $args{'include'} . ">\n"
@@ -812,7 +818,7 @@
            if (/$doc_func/o) {
                $function = $1;
                $state = 2;
-               if (/-(.*)/) {
+               if (/-\s*(.*)/) {
                    $function_purpose = $1;
                } else {
                    $function_purpose = "";





reply via email to

[Prev in Thread] Current Thread [Next in Thread]