summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-05-02 10:15:38 +0000
committerSimon Josefsson <simon@josefsson.org>2007-05-02 10:15:38 +0000
commit19caddccde42a3af02361910befff8c570b6301d (patch)
tree9b56d6a6a7e1f1c56f20d34ab169e376243a0e2b
parentb2fbed2e41c3536d52a3ded0674de6a954a86d24 (diff)
downloadgnutls-19caddccde42a3af02361910befff8c570b6301d.tar.gz
Make documentation.
-rw-r--r--pkcs11/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkcs11/Makefile.am b/pkcs11/Makefile.am
index 5a0a8fcca7..ee160fa0e0 100644
--- a/pkcs11/Makefile.am
+++ b/pkcs11/Makefile.am
@@ -33,3 +33,13 @@ libgnutls_pkcs11_la_LIBADD = ../lib/libgnutls.la
# XXX Move into configure.ac a'la --with-pkcs11-library=scute.
libgnutls_pkcs11_la_LDFLAGS += -L/usr/local/lib -R/usr/local/lib
libgnutls_pkcs11_la_LIBADD += -lscute
+
+p11-api.texi: gnutls_pkcs11.c
+ @echo "" > $@
+ @for i in $<; do \
+ echo -n "Creating documentation for file $$i... " && \
+ $(top_srcdir)/doc/scripts/gdoc -texinfo $$i >> $@ && \
+ echo "ok"; \
+ done
+
+dist-hook: p11-api.texi