diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 70b0dce99e..edab5888ee 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -200,7 +200,7 @@ MAINTAINERCLEANFILES = # Generated texinfos. -API_FILES=gnutls-api.texi x509-api.texi pgp-api.texi pkcs12-api.texi \ +API_FILES=gnutls-api.texi socket-api.texi x509-api.texi pgp-api.texi pkcs12-api.texi \ tpm-api.texi pkcs11-api.texi abstract-api.texi compat-api.texi \ dtls-api.texi crypto-api.texi ocsp-api.texi tpm-api.texi dane-api.texi \ pkcs7-api.texi @@ -225,6 +225,17 @@ gnutls-api.texi: $(top_srcdir)/lib/includes/gnutls/gnutls.h.in done mv -f $@-tmp $@ +socket-api.texi: $(top_srcdir)/lib/includes/gnutls/socket.h + echo "" > $@-tmp + for i in `$(top_srcdir)/doc/scripts/getfuncs.pl < $< |sort|uniq`; do \ + echo $(ECHO_N) "Creating documentation for $$i... " && \ + $(srcdir)/scripts/gdoc -texinfo \ + -function $$i \ + $(C_SOURCE_FILES) >> $@-tmp 2>/dev/null && \ + echo "ok"; \ + done + mv -f $@-tmp $@ + dane-api.texi: $(top_srcdir)/libdane/includes/gnutls/dane.h echo "" > $@-tmp for i in `$(top_srcdir)/doc/scripts/getfuncs.pl < $< |sort|uniq`; do \ |