gnutls-commit
[Top][All Lists]
Advanced

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

[SCM] GNU gnutls branch, finston_0, updated. gnutls_2_9_10-321-gbe3055d


From: Laurence Finston
Subject: [SCM] GNU gnutls branch, finston_0, updated. gnutls_2_9_10-321-gbe3055d
Date: Thu, 15 Jul 2010 12:11:46 +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=be3055dfa28a598e152db4451220965978cf5f47

The branch, finston_0 has been updated
       via  be3055dfa28a598e152db4451220965978cf5f47 (commit)
       via  b37c4c53382b96cd8312db87a28fe8659f097466 (commit)
       via  5df57b54fea0640fde0c4b7c27b15350628f034f (commit)
       via  c3942d2148a96ce6e4b04122a55b04367c28af1d (commit)
       via  9cfd1d0fcce9effdc003bda74cc7564b31114342 (commit)
       via  6856b7c11aa70a202b4207f41b8773c57b7f734f (commit)
      from  be218c0847da7fc6b878fe9417b95ef634ac6ada (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 be3055dfa28a598e152db4451220965978cf5f47
Author: Laurence Finston <address@hidden>
Date:   Thu Jul 15 14:11:35 2010 +0200

    Now writing header to 'error_codes.texi' and 'algorithms.texi'.

commit b37c4c53382b96cd8312db87a28fe8659f097466
Author: Laurence Finston <address@hidden>
Date:   Thu Jul 15 13:58:43 2010 +0200

    Added a "phony" rule 'generated_texinfo_files'.
    
    This rule can be used to generate the files referred to in the
    variable 'generated_TEXINFOS_1' as well as 'error_codes.texi'
    and 'algorithms.texi' for testing purposes.

commit 5df57b54fea0640fde0c4b7c27b15350628f034f
Author: Laurence Finston <address@hidden>
Date:   Thu Jul 15 13:55:38 2010 +0200

    Added variable 'generated_TEXINFOS_1'.
    
    Also added a rule with multiple targets to generate the files to which it 
refers.
    In addition, a header is now written to these files.

commit c3942d2148a96ce6e4b04122a55b04367c28af1d
Author: Laurence Finston <address@hidden>
Date:   Thu Jul 15 13:06:10 2010 +0200

    Tested writing a header to 'gnutls-api.texi'.  It works.
    
    About to try using a generic rule for the generated Texinfo files.
    They all seem to do the same thing.

commit 9cfd1d0fcce9effdc003bda74cc7564b31114342
Author: Laurence Finston <address@hidden>
Date:   Thu Jul 15 12:39:27 2010 +0200

    Added "phony" target `query'.

commit 6856b7c11aa70a202b4207f41b8773c57b7f734f
Author: Laurence Finston <address@hidden>
Date:   Thu Jul 15 12:37:49 2010 +0200

    No significant changes.

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

Summary of changes:
 doc/Makefile.am  |   89 ++++++++++++++++++++++++++---------------------------
 doc/scripts/gdoc |    5 +++
 2 files changed, 49 insertions(+), 45 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index c99dcc0..d88eaa5 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -100,67 +100,51 @@ MAINTAINERCLEANFILES =
 
 # Generated texinfos.
 
+
 gnutls_TEXINFOS += gnutls-api.texi extra-api.texi ia-api.texi  \
        x509-api.texi pgp-api.texi
 MAINTAINERCLEANFILES += gnutls-api.texi extra-api.texi ia-api.texi     \
        x509-api.texi pgp-api.texi
 
-gnutls-api.texi: $(srcdir)/../lib/*.c
-       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/sort2.pl < address@hidden > address@hidden
-       rm -f address@hidden
-       mv -f address@hidden $@
+#### LDF 2010.07.15.
+#### Added variable 'generated_TEXINFOS_1' and a rule with multiple
+#### targets to generate the files to which it refers.
+#### In addition, a header is now written to these files.
+####
+#### Added a "phony" rule 'generated_texinfo_files' to generate
+#### these files (and 'error_codes.texi' and 'algorithms.texi' as well)
+#### for testing purposes.
 
-x509-api.texi: $(srcdir)/../lib/x509/*.c
-       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/sort2.pl < address@hidden > address@hidden
-       rm -f address@hidden
-       mv -f address@hidden $@
+.PHONY: generated_texinfo_files
 
-pgp-api.texi: $(srcdir)/../lib/openpgp/*.c
-       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/sort2.pl < address@hidden > address@hidden
-       rm -f address@hidden
-       mv -f address@hidden $@
+generated_texinfo_files: $(generated_TEXINFOS_1) error_codes.texi 
algorithms.texi
+
+generated_TEXINFOS_1 = gnutls-api.texi extra-api.texi ia-api.texi      \
+       x509-api.texi pgp-api.texi
 
-extra-api.texi: $(srcdir)/../libextra/gnutls_extra.c
-       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/sort2.pl < address@hidden > address@hidden
-       rm -f address@hidden
-       mv -f address@hidden $@
 
-ia-api.texi: $(srcdir)/../libextra/gnutls_ia.c
+$(generated_TEXINFOS_1): $(srcdir)/../lib/*.c
        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/sort2.pl < address@hidden > address@hidden
+       rm -f address@hidden
+       @echo -e "@c address@hidden@c DO NOT EDIT THIS FILE!!\n"\
+"@c It was generated automatically on `date`\n" > address@hidden
+       $(srcdir)/scripts/sort2.pl < address@hidden >> address@hidden
        rm -f address@hidden
        mv -f address@hidden $@
 
-# Generated texinfos.
+
+# More generated texinfos.
+
+#### LDF 2010.07.15.
+#### The rules for generating 'error_codes.texi' 'algorithms.texi'
+#### don't follow the same pattern as the rule for the generated 
+#### Texinfo files above, and they also differ from each other, 
+#### so they must be handled individually.
 
 gnutls_TEXINFOS += error_codes.texi algorithms.texi
 MAINTAINERCLEANFILES += error_codes.texi algorithms.texi
@@ -175,14 +159,22 @@ errcodes_LDADD = ../lib/libgnutls.la ../gl/libgnu.la
 printlist_SOURCES = printlist.c
 printlist_LDADD = ../lib/libgnutls.la ../gl/libgnu.la
 
+#### LDF 2010.07.15.
+#### Now writing header to 'error_codes.texi' and 'algorithms.texi'.
+
 error_codes.texi: $(top_srcdir)/lib/gnutls_errors.c $(srcdir)/errcodes.c
+       echo "HERE I AM"
        make $(builddir)/errcodes
-       $(builddir)/errcodes > address@hidden
+       @echo -e "@c address@hidden@c DO NOT EDIT THIS FILE!!\n"\
+"@c It was generated automatically on `date`\n" > address@hidden
+       $(builddir)/errcodes >> address@hidden
        mv -f address@hidden $@
 
 algorithms.texi: $(srcdir)/printlist.c
        make $(builddir)/printlist
-       $(builddir)/printlist > address@hidden
+       @echo -e "@c address@hidden@c DO NOT EDIT THIS FILE!!\n"\
+"@c It was generated automatically on `date`\n" > address@hidden
+       $(builddir)/printlist >> address@hidden
        mv -f address@hidden $@
 
 # Guile texinfos.
@@ -229,3 +221,10 @@ extra.c.texi:
 
 
 endif !HAVE_GUILE
+
+
+.PHONY: query
+
+query:
+       echo "srcdir == $(srcdir)"
+
diff --git a/doc/scripts/gdoc b/doc/scripts/gdoc
index 13a37bd..05dfb91 100755
--- a/doc/scripts/gdoc
+++ b/doc/scripts/gdoc
@@ -1,5 +1,10 @@
 #!/usr/bin/perl
 
+#### gdoc
+
+#### Modified by Laurence D. Finston (LDF) starting Thu Jul 15 12:37:26 CEST 
2010
+
+
 ## Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson
 ##                    added -texinfo, -listfunc, -pkg-name
 ##                    man page revamp


hooks/post-receive
-- 
GNU gnutls



reply via email to

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