gnutls-commit
[Top][All Lists]
Advanced

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

[SCM] GNU gnutls branch, master, updated. gnutls_3_0_3-1-g04e7684


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_3_0_3-1-g04e7684
Date: Mon, 19 Sep 2011 06:54:20 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=04e7684573b1fa947ae8926709b859ed9cc5f285

The branch, master has been updated
       via  04e7684573b1fa947ae8926709b859ed9cc5f285 (commit)
      from  d74073847cbee94d70971ab8f1660f7cf268fc3c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 04e7684573b1fa947ae8926709b859ed9cc5f285
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Mon Sep 19 08:50:21 2011 +0200

    enumerations are visible in the texinfo output.

-----------------------------------------------------------------------

Summary of changes:
 doc/Makefile.am  |   18 ++++++++++++++++--
 doc/gnutls.texi  |    7 +------
 doc/scripts/gdoc |   33 +++++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+), 8 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index e594b1b..8f4d121 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -139,8 +139,8 @@ extra-api.texi: $(srcdir)/../libextra/gnutls_extra.c
 
 # Generated texinfos.
 
-gnutls_TEXINFOS += error_codes.texi algorithms.texi alerts.texi
-MAINTAINERCLEANFILES += error_codes.texi algorithms.texi
+gnutls_TEXINFOS += error_codes.texi algorithms.texi alerts.texi  enums.texi
+MAINTAINERCLEANFILES += error_codes.texi algorithms.texi enums.texi
 
 AM_CPPFLAGS = -I$(top_srcdir)/lib/includes -I$(top_builddir)/lib/includes
 
@@ -168,6 +168,16 @@ alerts.texi: alert-printlist
        $(builddir)/alert-printlist > address@hidden
        mv -f address@hidden $@
 
+enums.texi: $(srcdir)/../lib/includes/gnutls/*.h
+       echo "" > address@hidden
+       for i in $^; do \
+               echo -n "Creating documentation for file $$i... " && \
+               $(srcdir)/scripts/gdoc -texinfo $$i >> address@hidden && \
+               echo "ok"; \
+       done
+       $(srcdir)/scripts/split-texi.pl enums enum < address@hidden
+       mv -f address@hidden $@
+
 # Guile texinfos.
 
 guile_texi = core.c.texi extra.c.texi
@@ -213,3 +223,7 @@ extra.c.texi:
 
 
 endif !HAVE_GUILE
+
+clean-am:
+       rm -rf enums gnutls.info gnutls.html gnutls.pdf enums.texi
+
diff --git a/doc/gnutls.texi b/doc/gnutls.texi
index 23367ef..07bf825 100644
--- a/doc/gnutls.texi
+++ b/doc/gnutls.texi
@@ -133,12 +133,7 @@ Documentation License''.
 @end macro
 
 @macro showenumdesc{ref,cap}
address@hidden Table,\ref\
address@hidden
address@hidden @code{\ref\}
address@hidden itemize
address@hidden
address@hidden float
address@hidden enums/\ref\
 @end macro
 
 @contents
diff --git a/doc/scripts/gdoc b/doc/scripts/gdoc
index 8705d8c..65f6d4e 100755
--- a/doc/scripts/gdoc
+++ b/doc/scripts/gdoc
@@ -377,6 +377,39 @@ sub output_texinfo {
     print "address@hidden deftypefun\n\n";
 }
 
+sub output_enum_texinfo {
+    my %args = %{$_[0]};
+    my ($parameter, $section);
+    my $count;
+    my $name = $args{'enum'};
+    my $param;
+    my $param2;
+    my $sec;
+    my $check;
+    my $type;
+
+    print "address@hidden Table,$name\n";
+
+    print "address@hidden";
+
+    $check=0;
+    foreach $parameter (@{$args{'parameterlist'}}) {
+        $param1 = $parameter;
+       $param1 =~ s/_/address@hidden/g;
+
+       $check = 1;
+       print "address@hidden ".$param1."\n";
+#      print "\n";
+
+        $param2 = $args{'parameters'}{$parameter};
+       $out = just_highlight($param2);
+       chomp $out;
+       print $out . "\n";
+    }
+    print "address@hidden itemize\n";
+    print "address@hidden float\n";
+}
+
 # output in html
 sub output_html {
     my %args = %{$_[0]};


hooks/post-receive
-- 
GNU gnutls



reply via email to

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