invoke-gnutls-cli.texi: ../src/cli-args.def
@-cd ../src/ && autogen -Tagtexi-cmd.tpl $< && \
- mv -f ../src/$@ ../doc
+ rm -f ../doc/$@ && \
+ ../doc/scripts/cleanup-autogen.pl <../src/$@ >../doc/$@ && \
+ rm -f ../src/$@
invoke-gnutls-cli-debug.texi: ../src/cli-debug-args.def
@-cd ../src/ && autogen -Tagtexi-cmd.tpl $< && \
- mv -f ../src/$@ ../doc
+ rm -f ../doc/$@ && \
+ ../doc/scripts/cleanup-autogen.pl <../src/$@ >../doc/$@ && \
+ rm -f ../src/$@
invoke-gnutls-serv.texi: ../src/serv-args.def
@-cd ../src/ && autogen -Tagtexi-cmd.tpl $< && \
- mv -f ../src/$@ ../doc
+ rm -f ../doc/$@ && \
+ ../doc/scripts/cleanup-autogen.pl <../src/$@ >../doc/$@ && \
+ rm -f ../src/$@
invoke-certtool.texi: ../src/certtool-args.def
@-cd ../src/ && autogen -Tagtexi-cmd.tpl $< && \
- mv -f ../src/$@ ../doc
+ rm -f ../doc/$@ && \
+ ../doc/scripts/cleanup-autogen.pl <../src/$@ >../doc/$@ && \
+ rm -f ../src/$@
-invoke-srptool.texi: ../src/srptool-args.def
+invoke-ocsptool.texi: ../src/ocsptool-args.def
@-cd ../src/ && autogen -Tagtexi-cmd.tpl $< && \
- sed -i 's/@subsection/@subsubsection/g' $@ && \
- sed -i 's/@section/@subsection/g' $@ && \
- mv -f ../src/$@ ../doc
+ rm -f ../doc/$@ && \
+ ../doc/scripts/cleanup-autogen.pl <../src/$@ >../doc/$@ && \
+ rm -f ../src/$@
-invoke-ocsptool.texi: ../src/ocsptool-args.def
+invoke-srptool.texi: ../src/srptool-args.def
@-cd ../src/ && autogen -Tagtexi-cmd.tpl $< && \
- mv -f ../src/$@ ../doc
+ rm -f ../doc/$@ && \
+ ../doc/scripts/cleanup-autogen.pl <../src/$@ >../doc/$@ && \
+ rm -f ../src/$@ && \
+ sed -i 's/@subheading/@subsubheading/g' ../doc/$@ && \
+ sed -i 's/@section/@subsection/g' ../doc/$@
invoke-psktool.texi: ../src/psk-args.def
@-cd ../src/ && autogen -Tagtexi-cmd.tpl $< && \
- sed -i 's/@subsection/@subsubsection/g' $@ && \
- sed -i 's/@section/@subsection/g' $@ && \
- mv -f ../src/$@ ../doc
+ rm -f ../doc/$@ && \
+ ../doc/scripts/cleanup-autogen.pl <../src/$@ >../doc/$@ && \
+ rm -f ../src/$@ && \
+ sed -i 's/@subheading/@subsubheading/g' ../doc/$@ && \
+ sed -i 's/@section/@subsection/g' ../doc/$@
invoke-p11tool.texi: ../src/p11tool-args.def
@-cd ../src/ && autogen -Tagtexi-cmd.tpl $< && \
- sed -i 's/@subsection/@subsubsection/g' $@ && \
- sed -i 's/@section/@subsection/g' $@ && \
- mv -f ../src/$@ ../doc
+ rm -f ../doc/$@ && \
+ ../doc/scripts/cleanup-autogen.pl <../src/$@ >../doc/$@ && \
+ rm -f ../src/$@ && \
+ sed -i 's/@subheading/@subsubheading/g' ../doc/$@ && \
+ sed -i 's/@section/@subsection/g' ../doc/$@
info_TEXINFOS = gnutls.texi gnutls-guile.texi
gnutls_TEXINFOS = gnutls.texi fdl-1.3.texi \
@subtitle Transport Layer Security Library for the GNU system
@subtitle for version @value{VERSION}, @value{UPDATED}
@sp 7
-@image{gnutls-logo,6cm,6cm}
+@center @image{gnutls-logo,6cm,6cm}
@author Nikos Mavrogiannopoulos
@author Simon Josefsson (@email{bug-gnutls@@gnu.org})
@page
* Internal architecture of GnuTLS::
* Support::
* Error codes::
-* API reference::
* Supported ciphersuites::
+* API reference::
* Copying Information::
-* Concept Index::
+* Bibliography::
* Function and Data Index::
+* Concept Index::
@c * @mybibnode{}::
-* Bibliography::
@end menu
@include cha-preface.texi
@include cha-errors.texi
-@include cha-functions.texi
-
@include cha-ciphersuites.texi
+@include cha-functions.texi
+
@include cha-copying.texi
@include cha-bib.texi
--- /dev/null
+eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
+ & eval 'exec perl -wS "$0" $argv:q'
+ if 0;
+
+# Copyright (C) 2012 Free Software Foundation, Inc.
+#
+# This file is part of GnuTLS.
+#
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+my $line;
+my $init = 0;
+my $menu = 0;
+
+while ($line = <>) {
+ if ($line =~ /\@node/) {
+ if ($init == 0) {
+ $init = 1;
+ } else {
+ next;
+ }
+ }
+
+ if ($line =~ /\@menu/) {
+ $menu = 1;
+ next;
+ }
+
+ if ($line =~ /\@end menu/) {
+ $menu = 0;
+ next;
+ }
+
+ next if ($menu != 0);
+
+ if ($line =~ /\@subsection\s(.*)/) {
+ $line = "\@subheading $1\n";
+ }
+
+ print $line;
+}