summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@crystal.(none)>2008-07-06 12:39:51 +0300
committerNikos Mavrogiannopoulos <nmav@crystal.(none)>2008-07-06 12:39:51 +0300
commit6f4a01ce67cf335b12836cc9afc88af40017e463 (patch)
tree3d1b8652c75c9f0ba914b277a20614edaf7d416d /src
parent04618f872ab499f7d0483b6d30efe722bc14f2e1 (diff)
downloadgnutls-6f4a01ce67cf335b12836cc9afc88af40017e463.tar.gz
automatically generate the appendix with supported algorithms and ciphersuites.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ddf73c904e..a30cd4e4d5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,7 +17,7 @@
# along with this file; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-EXTRA_DIST = README README.srptool
+EXTRA_DIST = README README.srptool algorithms.texi
SUBDIRS = cfg
@@ -75,11 +75,14 @@ certtool_SOURCES += cfg/cfg+.c cfg/cfgfile.c cfg/cmdline.c cfg/parse.c \
cfg/platon/str/strplus.c
endif
-noinst_PROGRAMS = errcodes
+noinst_PROGRAMS = errcodes printlist
errcodes_SOURCES = errcodes.c
errcodes_LDADD = ../lib/libgnutls.la $(LIBGCRYPT_LIBS) $(LIBTASN1_LIBS) \
../gl/libgnu.la ../lgl/liblgnu.la
+printlist_SOURCES = printlist.c
+printlist_LDADD = ../lib/libgnutls.la \
+ $(LIBGCRYPT_LIBS) $(LIBTASN1_LIBS) ../gl/libgnu.la
psk-gaa.c: $(srcdir)/psk.gaa
@@ -95,3 +98,7 @@ tls_test-gaa.c: $(srcdir)/tls_test.gaa
serv-gaa.c: $(srcdir)/serv.gaa
-$(GAA) $< -o serv-gaa.c -i serv-gaa.h
+algorithms.texi: printlist
+ @./printlist >algorithms.texi
+
+dist-hook: algorithms.texi