summaryrefslogtreecommitdiff
path: root/libextra
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2004-08-05 03:49:27 +0000
committerSimon Josefsson <simon@josefsson.org>2004-08-05 03:49:27 +0000
commita8020a6e35eb2430638ba92f71c48d2186b9afdb (patch)
tree372a6a3ec997a732de611ed91686f233ddf7990f /libextra
parent586a52b419e043bf18f1ac0530a31bed8bc45cbc (diff)
downloadgnutls-a8020a6e35eb2430638ba92f71c48d2186b9afdb.tar.gz
Build pgp-api.texi.
Dist pgp-api.tex{,i}.
Diffstat (limited to 'libextra')
-rw-r--r--libextra/openpgp/Makefile.am15
1 files changed, 9 insertions, 6 deletions
diff --git a/libextra/openpgp/Makefile.am b/libextra/openpgp/Makefile.am
index a5e40ce6dc..ff3487aff2 100644
--- a/libextra/openpgp/Makefile.am
+++ b/libextra/openpgp/Makefile.am
@@ -3,13 +3,16 @@
COBJECTS = pgp.c xml.c pgpverify.c extras.c compat.c privkey.c
-EXTRA_DIST = openpgp.h gnutls_openpgp.h $(COBJECTS)
+EXTRA_DIST = openpgp.h gnutls_openpgp.h $(COBJECTS) pgp-api.tex pgp-api.texi
-pgp-api.tex: $(COBJECTS)
+pgp-api.tex pgp-api.texi: $(COBJECTS)
@echo "" > pgp-api.tex
- @for i in $(COBJECTS); \
- do echo -n "Creating documentation for file $$i... " && ../../doc/scripts/gdoc -tex $$i >> pgp-api.tex \
- && echo "ok"; \
+ @echo "" > pgp-api.texi
+ @for i in $(COBJECTS); do \
+ echo -n "Creating documentation for file $$i... " && \
+ ../../doc/scripts/gdoc -tex $$i >> pgp-api.tex && \
+ ../../doc/scripts/gdoc -texinfo $$i >> pgp-api.texi && \
+ echo "ok"; \
done
-dist-hook: pgp-api.tex
+dist-hook: pgp-api.tex pgp-api.texi