]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Added rules to build epub version.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 14 Feb 2012 18:01:50 +0000 (19:01 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 14 Feb 2012 18:01:50 +0000 (19:01 +0100)
.gitignore
doc/Makefile.am
doc/epub.texi [new file with mode: 0644]

index c65f537ae6c3404be9f9ffa84b84586608a2df3e..66c80cb1e45adcb94a4d7edb18bc5fd4ba4c0751 100644 (file)
@@ -587,3 +587,6 @@ gl/tests/test-base64
 tests/mini-loss2
 src/libopts/libopts.la
 tests/mini-loss-time
+tests/dtls/dtls-stress
+doc/gnutls.epub
+doc/gnutls.xml
index 28c16fafc142e2e1c27bead24da2a5783a3e9210..ea4c37fde8adf2bbd8e5305d6edc39542e53e4ba 100644 (file)
@@ -409,3 +409,11 @@ core.c.texi:
        echo "(Guile not available, documentation not generated.)" > $@
 
 endif !HAVE_GUILE
+
+gnutls.xml: epub.texi
+       makeinfo --docbook $<
+       sed -i 's/\&\#8226;//g' $@
+
+gnutls.epub: gnutls.xml
+       dbtoepub $<
+       epub-fix --delete-unmanifested gnutls.epub
diff --git a/doc/epub.texi b/doc/epub.texi
new file mode 100644 (file)
index 0000000..3afe979
--- /dev/null
@@ -0,0 +1,179 @@
+\input texinfo   @c -*-texinfo-*-
+@comment %**start of header
+@setfilename gnutls.info
+@include version.texi
+@settitle The GnuTLS Manual
+
+@c don't indent the paragraphs.
+@paragraphindent 0
+
+@c Unify some of the indices.
+@syncodeindex tp fn
+@syncodeindex pg cp
+
+@comment %**end of header
+@c @finalout
+
+@copying
+Copyright @copyright{} 2001-2012 Free Software Foundation, Inc.
+
+@quotation
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
+copy of the license is included in the section entitled ``GNU Free
+Documentation License''.
+@end quotation
+@end copying
+
+@c reference to an internal function.
+@macro refint {func}
+@code{\func\}
+@end macro
+
+@macro xcite{ref}
+[@emph{\ref\}]
+@end macro
+
+@macro funcref{ref}
+@ref{\ref\}
+@end macro
+
+@macro funcintref{ref}
+@code{\ref\}
+@end macro
+
+@macro showfuncA{ref}
+@itemize
+@item @ref{\ref\}
+@end itemize
+@end macro
+
+@macro showfuncB{ref1,ref2}
+@itemize
+@item @ref{\ref1\}
+@item @ref{\ref2\}
+@end itemize
+@end macro
+
+@macro showfuncC{ref1,ref2,ref3}
+@itemize
+@item @ref{\ref1\}
+@item @ref{\ref2\}
+@item @ref{\ref3\}
+@end itemize
+@end macro
+
+@macro showfuncD{ref1,ref2,ref3,ref4}
+@itemize
+@item @ref{\ref1\}
+@item @ref{\ref2\}
+@item @ref{\ref3\}
+@item @ref{\ref4\}
+@end itemize
+@end macro
+
+@macro showfuncE{ref1,ref2,ref3,ref4,ref5}
+@itemize
+@item @ref{\ref1\}
+@item @ref{\ref2\}
+@item @ref{\ref3\}
+@item @ref{\ref4\}
+@item @ref{\ref5\}
+@end itemize
+@end macro
+
+@macro showfuncF{ref1,ref2,ref3,ref4,ref5,ref6}
+@itemize
+@item @ref{\ref1\}
+@item @ref{\ref2\}
+@item @ref{\ref3\}
+@item @ref{\ref4\}
+@item @ref{\ref5\}
+@item @ref{\ref6\}
+@end itemize
+@end macro
+
+@macro showfuncdesc{ref}
+@itemize
+@item @ref{\ref\}
+@end itemize
+@end macro
+
+@macro showenumdesc{ref,cap}
+@float Figure,\ref\
+@include enums/\ref\
+@caption{\cap\}
+@end float
+@end macro
+
+@contents
+
+@menu
+* Preface::
+* Introduction to GnuTLS::
+* Introduction to TLS::
+* Certificate authentication::
+* Shared-key and anonymous authentication::
+* More on certificate authentication::
+* How to use GnuTLS in applications::
+* GnuTLS application examples::
+* Other included programs::
+* Internal architecture of GnuTLS::
+* Support::
+* Error codes::
+* Supported ciphersuites::
+* API reference::
+* Copying Information::
+* Bibliography::
+* Function and Data Index::
+* Concept Index::
+@c * @mybibnode{}::
+@end menu
+
+@include cha-preface.texi
+
+@include cha-library.texi
+
+@include cha-intro-tls.texi
+
+@include cha-cert-auth.texi
+
+@include cha-shared-key.texi
+
+@include cha-cert-auth2.texi
+
+@include cha-gtls-app.texi
+
+@include cha-gtls-examples.texi
+
+@include cha-programs.texi
+
+@include cha-internals.texi
+
+@c appendices
+
+@include cha-support.texi
+
+@include cha-errors.texi
+
+@include cha-ciphersuites.texi
+
+@include cha-functions.texi
+
+@include cha-copying.texi
+
+@include cha-bib.texi
+
+@node Function and Data Index
+@unnumbered Function and Data Index
+
+@printindex fn
+
+@node Concept Index
+@unnumbered Concept Index
+
+@printindex cp
+
+@bye