$NetBSD: patch-ap,v 1.4 2015/06/18 04:29:51 dholland Exp $

* Install only the man pages corresponding to the binaries that appear
in the client package. Note: this list will need to be refreshed
manually if new man pages appear in the distfile.

--- man/Makefile.in.orig	2010-07-09 12:38:13.000000000 +0000
+++ man/Makefile.in
@@ -381,8 +381,13 @@ yassl_libs = @yassl_libs@
 yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
 yassl_thread_cxxflags = @yassl_thread_cxxflags@
 zlib_dir = @zlib_dir@
-man1_MANS = @man1_files@
-man8_MANS = @man8_files@
+man1_MANS = msql2mysql.1 mysql.1 mysql_config.1 mysql_convert_table_format.1 \
+	mysql_find_rows.1 mysql_fix_extensions.1 mysql_fix_privilege_tables.1 \
+	mysql_setpermission.1 mysql_upgrade.1 mysql_zap.1 mysqlaccess.1 \
+	mysqladmin.1 mysqlbinlog.1 mysqlbug.1 mysqlcheck.1 mysqldump.1 \
+	mysqldumpslow.1 mysqlhotcopy.1 mysqlimport.1 mysqlman.1 mysqlshow.1 \
+	mysqlslap.1 mysqltest.1
+man8_MANS = 
 EXTRA_DIST = $(man1_MANS) $(man8_MANS)
 all: all-am
 
