libtirpc/libtirpc-0.1.7-man-install.patch

36 lines
1.2 KiB
Diff

Index: libtirpc-0.1.7/man/Makefile.am
===================================================================
--- /dev/null
+++ libtirpc-0.1.7/man/Makefile.am
@@ -0,0 +1,9 @@
+
+man5_MANS = netconfig.5
+man3_MANS = bindresvport.3t des_crypt.3t getnetconfig.3t getnetpath.3t \
+ getrpcent.3t getrpcport.3t rpc.3t rpc_clnt_auth.3t rpc_clnt_calls.3t \
+ rpc_clnt_create.3t rpc_secure.3t rpc_soc.3t rpc_svc_calls.3t \
+ rpc_svc_create.3t rpc_svc_err.3t rpc_svc_reg.3t rpc_xdr.3t rtime.3t
+
+EXTRA_DIST = $(man5_MANS) $(man3_MANS)
+
Index: libtirpc-0.1.7/configure.in
===================================================================
--- libtirpc-0.1.7.orig/configure.in
+++ libtirpc-0.1.7/configure.in
@@ -26,5 +26,5 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h li
AC_CHECK_LIB([pthread], [pthread_create])
-AC_CONFIG_FILES([Makefile src/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile man/Makefile])
AC_OUTPUT(libtirpc.pc)
Index: libtirpc-0.1.7/Makefile.am
===================================================================
--- libtirpc-0.1.7.orig/Makefile.am
+++ libtirpc-0.1.7/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = src
+SUBDIRS = src man
nobase_include_HEADERS = tirpc/un-namespace.h \
tirpc/spinlock.h \