summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-17 18:03:43 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-17 18:09:05 +0100
commitba77aa422cacee5bac1d6f95b6ef6bc221250338 (patch)
treeb6a6f8c42fa56a58d683a0fffc948ea4ecb2420a /doc
parent4d2493b2cb5ef737669e9d6f1d531e84d7105b0a (diff)
downloadgnutls-ba77aa422cacee5bac1d6f95b6ef6bc221250338.tar.gz
updated Makefiles
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am54
-rw-r--r--doc/manpages/Makefile.am35
2 files changed, 79 insertions, 10 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e7ce511d12..84f1ecb344 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -22,7 +22,7 @@
EXTRA_DIST = TODO certtool.cfg gnutls.pdf gnutls.html \
doxygen/Doxyfile.in doxygen/Doxyfile.orig texinfo.css \
gnutls-guile.pdf gnutls-guile.html stamp_enums stamp_functions \
- doc.mk stamp_invoke
+ doc.mk
SUBDIRS = examples cyclo scripts manpages credentials latex
if ENABLE_GTK_DOC
@@ -149,13 +149,12 @@ gnutls_TEXINFOS = gnutls.texi fdl-1.3.texi \
cha-shared-key.texi cha-gtls-examples.texi cha-upgrade.texi \
cha-tokens.texi cha-crypto.texi cha-auth.texi
-stamp_invoke: invoke-gnutls-cli.texi invoke-gnutls-cli-debug.texi \
+AUTOGENED_DOC = invoke-gnutls-cli.texi invoke-gnutls-cli-debug.texi \
invoke-gnutls-serv.texi invoke-certtool.texi invoke-srptool.texi \
invoke-ocsptool.texi invoke-psktool.texi invoke-p11tool.texi \
invoke-tpmtool.texi invoke-danetool.texi
- echo $@ > $@
-gnutls_TEXINFOS += stamp_functions stamp_invoke
+gnutls_TEXINFOS += stamp_functions
# Examples.
gnutls_TEXINFOS += examples/ex-client-anon.c \
@@ -214,7 +213,7 @@ API_FILES=gnutls-api.texi x509-api.texi pgp-api.texi pkcs12-api.texi \
xssl-api.texi
clean-local:
- -rm -f stamp_enums stamp_functions stamp_invoke
+ -rm -f stamp_enums stamp_functions
-rm -rf functions/ enums/
-rm -f $(API_FILES)
@@ -413,8 +412,8 @@ enums.texi: $(HEADER_FILES)
done
mv -f $@-tmp $@
-gnutls_TEXINFOS += $(ENUMS) $(FUNCS)
-DISTCLEANFILES += $(ENUMS) stamp_enums stamp_functions stamp_invoke
+gnutls_TEXINFOS += $(ENUMS) $(FUNCS) $(AUTOGENED_DOC)
+DISTCLEANFILES += $(ENUMS) stamp_enums stamp_functions
stamp_functions: $(API_FILES)
@@ -445,7 +444,8 @@ compare-makefile: enums.texi
done; \
grep -v -e '^ENUMS += ' $(srcdir)/Makefile.am | \
perl -p -e "s,^ENUMS =,ENUMS =$$STR," > tmp-$@; \
- diff -u $(srcdir)/Makefile.am tmp-$@
+ echo "If the following step fails copy $(srcdir)/tmp-compare-makefile to Makefile.am"
+ diff -u $(srcdir)/Makefile.am tmp-$@ >/dev/null
rm -f tmp-$@
FUNCS=`cat $(HEADER_FILES) | $(top_srcdir)/doc/scripts/getfuncs.pl|sort -d|uniq`; \
MANS=""; \
@@ -454,7 +454,8 @@ compare-makefile: enums.texi
done; \
grep -v -e '^FUNCS += ' $(srcdir)/Makefile.am > tmp-$@; \
echo "\"s,^FUNCS =,FUNCS =$$MANS,\" -i tmp-$@"|xargs sed
- diff -u $(srcdir)/Makefile.am tmp-$@
+ echo "If the following step fails copy $(srcdir)/tmp-compare-makefile to Makefile.am"
+ diff -u $(srcdir)/Makefile.am tmp-$@ >/dev/null
rm -f tmp-$@
.PHONY: compare-makefile
@@ -540,6 +541,7 @@ ENUMS += enums/gnutls_pkcs11_obj_attr_t
ENUMS += enums/gnutls_pkcs11_obj_info_t
ENUMS += enums/gnutls_pkcs11_obj_type_t
ENUMS += enums/gnutls_pkcs11_token_info_t
+ENUMS += enums/gnutls_pkcs11_url_type_t
ENUMS += enums/gnutls_pkcs12_bag_type_t
ENUMS += enums/gnutls_pkcs_encrypt_flags_t
ENUMS += enums/gnutls_privkey_flags_t
@@ -635,6 +637,8 @@ FUNCS += functions/gnutls_certificate_allocate_credentials
FUNCS += functions/gnutls_certificate_allocate_credentials.short
FUNCS += functions/gnutls_certificate_client_get_request_status
FUNCS += functions/gnutls_certificate_client_get_request_status.short
+FUNCS += functions/gnutls_certificate_client_set_retrieve_function
+FUNCS += functions/gnutls_certificate_client_set_retrieve_function.short
FUNCS += functions/gnutls_certificate_expiration_time_peers
FUNCS += functions/gnutls_certificate_expiration_time_peers.short
FUNCS += functions/gnutls_certificate_free_ca_names
@@ -661,6 +665,8 @@ FUNCS += functions/gnutls_certificate_send_x509_rdn_sequence
FUNCS += functions/gnutls_certificate_send_x509_rdn_sequence.short
FUNCS += functions/gnutls_certificate_server_set_request
FUNCS += functions/gnutls_certificate_server_set_request.short
+FUNCS += functions/gnutls_certificate_server_set_retrieve_function
+FUNCS += functions/gnutls_certificate_server_set_retrieve_function.short
FUNCS += functions/gnutls_certificate_set_dh_params
FUNCS += functions/gnutls_certificate_set_dh_params.short
FUNCS += functions/gnutls_certificate_set_key
@@ -1181,6 +1187,8 @@ FUNCS += functions/gnutls_openpgp_privkey_get_subkey_count
FUNCS += functions/gnutls_openpgp_privkey_get_subkey_count.short
FUNCS += functions/gnutls_openpgp_privkey_get_subkey_creation_time
FUNCS += functions/gnutls_openpgp_privkey_get_subkey_creation_time.short
+FUNCS += functions/gnutls_openpgp_privkey_get_subkey_expiration_time
+FUNCS += functions/gnutls_openpgp_privkey_get_subkey_expiration_time.short
FUNCS += functions/gnutls_openpgp_privkey_get_subkey_fingerprint
FUNCS += functions/gnutls_openpgp_privkey_get_subkey_fingerprint.short
FUNCS += functions/gnutls_openpgp_privkey_get_subkey_id
@@ -1245,6 +1253,8 @@ FUNCS += functions/gnutls_pkcs11_delete_url
FUNCS += functions/gnutls_pkcs11_delete_url.short
FUNCS += functions/gnutls_pkcs11_get_pin_function
FUNCS += functions/gnutls_pkcs11_get_pin_function.short
+FUNCS += functions/gnutls_pkcs11_get_raw_issuer
+FUNCS += functions/gnutls_pkcs11_get_raw_issuer.short
FUNCS += functions/gnutls_pkcs11_init
FUNCS += functions/gnutls_pkcs11_init.short
FUNCS += functions/gnutls_pkcs11_obj_deinit
@@ -1253,6 +1263,8 @@ FUNCS += functions/gnutls_pkcs11_obj_export
FUNCS += functions/gnutls_pkcs11_obj_export.short
FUNCS += functions/gnutls_pkcs11_obj_export2
FUNCS += functions/gnutls_pkcs11_obj_export2.short
+FUNCS += functions/gnutls_pkcs11_obj_export3
+FUNCS += functions/gnutls_pkcs11_obj_export3.short
FUNCS += functions/gnutls_pkcs11_obj_export_url
FUNCS += functions/gnutls_pkcs11_obj_export_url.short
FUNCS += functions/gnutls_pkcs11_obj_get_info
@@ -2299,3 +2311,27 @@ FUNCS += functions/gnutls_x509_trust_list_verify_crt
FUNCS += functions/gnutls_x509_trust_list_verify_crt.short
FUNCS += functions/gnutls_x509_trust_list_verify_named_crt
FUNCS += functions/gnutls_x509_trust_list_verify_named_crt.short
+FUNCS += functions/xssl_client_init
+FUNCS += functions/xssl_client_init.short
+FUNCS += functions/xssl_cred_deinit
+FUNCS += functions/xssl_cred_deinit.short
+FUNCS += functions/xssl_cred_init
+FUNCS += functions/xssl_cred_init.short
+FUNCS += functions/xssl_deinit
+FUNCS += functions/xssl_deinit.short
+FUNCS += functions/xssl_flush
+FUNCS += functions/xssl_flush.short
+FUNCS += functions/xssl_getdelim
+FUNCS += functions/xssl_getdelim.short
+FUNCS += functions/xssl_get_session
+FUNCS += functions/xssl_get_session.short
+FUNCS += functions/xssl_printf
+FUNCS += functions/xssl_printf.short
+FUNCS += functions/xssl_read
+FUNCS += functions/xssl_read.short
+FUNCS += functions/xssl_server_init
+FUNCS += functions/xssl_server_init.short
+FUNCS += functions/xssl_sinit
+FUNCS += functions/xssl_sinit.short
+FUNCS += functions/xssl_write
+FUNCS += functions/xssl_write.short
diff --git a/doc/manpages/Makefile.am b/doc/manpages/Makefile.am
index a728b4ae90..d3cda83d9f 100644
--- a/doc/manpages/Makefile.am
+++ b/doc/manpages/Makefile.am
@@ -111,6 +111,7 @@ APIMANS += gnutls_bye.3
APIMANS += gnutls_certificate_activation_time_peers.3
APIMANS += gnutls_certificate_allocate_credentials.3
APIMANS += gnutls_certificate_client_get_request_status.3
+APIMANS += gnutls_certificate_client_set_retrieve_function.3
APIMANS += gnutls_certificate_expiration_time_peers.3
APIMANS += gnutls_certificate_free_ca_names.3
APIMANS += gnutls_certificate_free_cas.3
@@ -124,6 +125,7 @@ APIMANS += gnutls_certificate_get_peers.3
APIMANS += gnutls_certificate_get_peers_subkey_id.3
APIMANS += gnutls_certificate_send_x509_rdn_sequence.3
APIMANS += gnutls_certificate_server_set_request.3
+APIMANS += gnutls_certificate_server_set_retrieve_function.3
APIMANS += gnutls_certificate_set_dh_params.3
APIMANS += gnutls_certificate_set_key.3
APIMANS += gnutls_certificate_set_ocsp_status_request_file.3
@@ -384,6 +386,7 @@ APIMANS += gnutls_openpgp_privkey_get_preferred_key_id.3
APIMANS += gnutls_openpgp_privkey_get_revoked_status.3
APIMANS += gnutls_openpgp_privkey_get_subkey_count.3
APIMANS += gnutls_openpgp_privkey_get_subkey_creation_time.3
+APIMANS += gnutls_openpgp_privkey_get_subkey_expiration_time.3
APIMANS += gnutls_openpgp_privkey_get_subkey_fingerprint.3
APIMANS += gnutls_openpgp_privkey_get_subkey_id.3
APIMANS += gnutls_openpgp_privkey_get_subkey_idx.3
@@ -416,10 +419,12 @@ APIMANS += gnutls_pkcs11_copy_x509_privkey.3
APIMANS += gnutls_pkcs11_deinit.3
APIMANS += gnutls_pkcs11_delete_url.3
APIMANS += gnutls_pkcs11_get_pin_function.3
+APIMANS += gnutls_pkcs11_get_raw_issuer.3
APIMANS += gnutls_pkcs11_init.3
APIMANS += gnutls_pkcs11_obj_deinit.3
APIMANS += gnutls_pkcs11_obj_export.3
APIMANS += gnutls_pkcs11_obj_export2.3
+APIMANS += gnutls_pkcs11_obj_export3.3
APIMANS += gnutls_pkcs11_obj_export_url.3
APIMANS += gnutls_pkcs11_obj_get_info.3
APIMANS += gnutls_pkcs11_obj_get_type.3
@@ -943,6 +948,18 @@ APIMANS += gnutls_x509_trust_list_remove_trust_file.3
APIMANS += gnutls_x509_trust_list_remove_trust_mem.3
APIMANS += gnutls_x509_trust_list_verify_crt.3
APIMANS += gnutls_x509_trust_list_verify_named_crt.3
+APIMANS += xssl_client_init.3
+APIMANS += xssl_cred_deinit.3
+APIMANS += xssl_cred_init.3
+APIMANS += xssl_deinit.3
+APIMANS += xssl_flush.3
+APIMANS += xssl_getdelim.3
+APIMANS += xssl_get_session.3
+APIMANS += xssl_printf.3
+APIMANS += xssl_read.3
+APIMANS += xssl_server_init.3
+APIMANS += xssl_sinit.3
+APIMANS += xssl_write.3
dist_man_MANS += $(APIMANS)
@@ -956,7 +973,9 @@ compare-makefile:
done; \
grep -v -e '^APIMANS += ' Makefile.am | \
perl -p -e "s/^APIMANS =/APIMANS =$$MANS/" > tmp-$@; \
- diff -u $(srcdir)/Makefile.am tmp-$@
+ echo "If the following step fails copy $(srcdir)/tmp-compare-makefile to Makefile.am"
+ diff -u $(srcdir)/Makefile.am tmp-$@ >/dev/null
+ rm -f tmp-$@
stamp_mans: $(HEADER_FILES)
@echo $(ECHO_N) "Creating man pages for gnutls.h..." && \
@@ -1127,6 +1146,20 @@ stamp_mans: $(HEADER_FILES)
echo $(ECHO_N) "."; \
done
@echo ""
+ @echo $(ECHO_N) "Creating man pages for xssl.h..." && \
+ for i in `$(top_srcdir)/doc/scripts/getfuncs.pl <$(top_srcdir)/lib/includes/gnutls/xssl.h`; do \
+ $(top_srcdir)/doc/scripts/gdoc -man \
+ -module $(PACKAGE) -sourceversion $(VERSION) \
+ -bugsto $(PACKAGE_BUGREPORT) \
+ -pkg-name "$(PACKAGE_NAME)" \
+ -include "gnutls/xssl.h" \
+ -seeinfo $(PACKAGE) -verbatimcopying \
+ -copyright "2001-2013 Free Software Foundation, Inc." \
+ -function $$i \
+ $(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
+ echo $(ECHO_N) "."; \
+ done
+ @echo ""
echo $@ > $@
.PHONY: update-makefile