From bd1980ea1ccfb500173e63303fdb00662a5e55d1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 2 Feb 2007 22:27:06 +0000 Subject: [PATCH] Include man pages in distro tarball and make install. Note that this is still (by far) an incomplete set of man pages. --- Makefile.am | 2 +- configure.in | 3 ++- docs/Makefile.am | 8 ++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 docs/Makefile.am diff --git a/Makefile.am b/Makefile.am index b13f5b9..eb32cc2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ AUTOMAKE_OPTIONS = foreign nostdinc -SUBDIRS = src example tests +SUBDIRS = src example tests docs include_HEADERS = include/libssh2.h include/libssh2_publickey.h \ include/libssh2_sftp.h diff --git a/configure.in b/configure.in index bcea2ab..ca568ff 100644 --- a/configure.in +++ b/configure.in @@ -275,5 +275,6 @@ AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile example/Makefile - example/simple/Makefile]) + example/simple/Makefile + docs/Makefile]) AC_OUTPUT diff --git a/docs/Makefile.am b/docs/Makefile.am new file mode 100644 index 0000000..8e4b1a6 --- /dev/null +++ b/docs/Makefile.am @@ -0,0 +1,8 @@ +# $Id: Makefile.am,v 1.1 2007/02/02 22:27:06 bagder Exp $ + +EXTRA_DIST = template.3 + +man_MANS = libssh2_channel_forward_accept.3 libssh2_session_init.3 \ +libssh2_channel_forward_listen_ex.3 libssh2_session_startup.3 \ +libssh2_channel_read_ex.3 libssh2_sftp_init.3 libssh2_channel_readnb_ex.3 \ +libssh2_sftp_open_ex.3 libssh2_channel_set_blocking.3 libssh2_session_free.3