summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-02 20:20:26 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-02 20:20:26 +0200
commit8d48c2de74289ad827398b3af834078b86a9f6c6 (patch)
treed4bac29b03c222c7bcf508bf28ae402bc7826d9c
parent4a41ee32c17ad26e18c2fb744f0f410797224824 (diff)
downloadgnutls-8d48c2de74289ad827398b3af834078b86a9f6c6.tar.gz
backported the short function inclusiongnutls_3_0_23
-rw-r--r--doc/Makefile.am3
-rw-r--r--doc/gnutls.texi42
2 files changed, 22 insertions, 23 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index b3129d47c6..ffb77a2c4c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -353,13 +353,12 @@ DISTCLEANFILES += $(ENUMS) stamp_enums stamp_functions
stamp_functions: gnutls-api.texi x509-api.texi pgp-api.texi pkcs12-api.texi pkcs11-api.texi abstract-api.texi compat-api.texi dtls-api.texi crypto-api.texi ocsp-api.texi
-mkdir functions
- -mkdir functions.short
for i in $^; do \
$(srcdir)/scripts/split-texi.pl functions < $$i; \
done
sed -i 's/\@anchor{.*//g' functions/*
sed -i 's/\@subheading.*//g' functions/*
- cd functions && for i in *;do grep ^"@deftypefun" $$i | sed 's/@deftypefun/@item/g;s/ {/ @var{/;s/ {/ @ref{/' > ../functions.short/$$i;done
+ cd functions && for i in *;do grep ^"@deftypefun" $$i | sed 's/@deftypefun/@item/g;s/ {/ @var{/;s/ {/ @ref{/' > ../functions/$$i.short;done
echo $@ > $@
$(MAKE) compare-makefile
diff --git a/doc/gnutls.texi b/doc/gnutls.texi
index bcd03f3394..52e427c9c9 100644
--- a/doc/gnutls.texi
+++ b/doc/gnutls.texi
@@ -75,52 +75,52 @@ Documentation License''.
@macro showfuncA{ref}
@table @code
-@include functions.short/\ref\
+@include functions/\ref\.short
@end table
@end macro
@macro showfuncB{ref1,ref2}
@table @code
-@include functions.short/\ref1\
-@include functions.short/\ref2\
+@include functions/\ref1\.short
+@include functions/\ref2\.short
@end table
@end macro
@macro showfuncC{ref1,ref2,ref3}
@table @code
-@include functions.short/\ref1\
-@include functions.short/\ref2\
-@include functions.short/\ref3\
+@include functions/\ref1\.short
+@include functions/\ref2\.short
+@include functions/\ref3\.short
@end table
@end macro
@macro showfuncD{ref1,ref2,ref3,ref4}
@table @code
-@include functions.short/\ref1\
-@include functions.short/\ref2\
-@include functions.short/\ref3\
-@include functions.short/\ref4\
+@include functions/\ref1\.short
+@include functions/\ref2\.short
+@include functions/\ref3\.short
+@include functions/\ref4\.short
@end table
@end macro
@macro showfuncE{ref1,ref2,ref3,ref4,ref5}
@table @code
-@include functions.short/\ref1\
-@include functions.short/\ref2\
-@include functions.short/\ref3\
-@include functions.short/\ref4\
-@include functions.short/\ref5\
+@include functions/\ref1\.short
+@include functions/\ref2\.short
+@include functions/\ref3\.short
+@include functions/\ref4\.short
+@include functions/\ref5\.short
@end table
@end macro
@macro showfuncF{ref1,ref2,ref3,ref4,ref5,ref6}
@table @code
-@include functions.short/\ref1\
-@include functions.short/\ref2\
-@include functions.short/\ref3\
-@include functions.short/\ref4\
-@include functions.short/\ref5\
-@include functions.short/\ref6\
+@include functions/\ref1\.short
+@include functions/\ref2\.short
+@include functions/\ref3\.short
+@include functions/\ref4\.short
+@include functions/\ref5\.short
+@include functions/\ref6\.short
@end table
@end macro