From e9c9f36b09a62d14dbf574ee854e8f8de4ab92db Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Wed, 9 Jun 2010 03:56:08 +0200
Origin: vendor
Forwarded: not-needed
Subject: [PATCH 1/4] build: Disable GFDL info files and useless man pages

We do not install the info file due to GFDL, and because it would
require an inetutils-doc package. Nor the man pages from upstream
generated with help2man as they are problematic for cross-building
and contain no additional information to what is already available
via --help output.

Instead we ship our own proper man pages.

Not forwarded upstream due to GNU policies regarding man pages.
---
 Makefile.am    | 1 -
 configure.ac   | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 055e2c5e..0119255c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,7 +23,6 @@ EXTRA_DIST = paths ChangeLog.0 ChangeLog.1 summary.sh.in CHECKLIST
 SUBDIRS = lib \
 	libinetutils libtelnet libicmp libls \
 	src telnet telnetd ftp ftpd talk talkd whois ping ifconfig \
-	doc man \
 	tests
 
 DISTCLEANFILES = pathdefs.make paths.defs
diff --git a/configure.ac b/configure.ac
index 56520853..d20bcdb2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,7 +141,6 @@ AC_PROG_RANLIB
 AC_PROG_YACC
 AC_PROG_LN_S
 AC_PROG_SED
-AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
 AC_ARG_VAR(GREP, [Location of preferred 'grep' utility.])
 AC_ARG_VAR(EGREP, [Location of preferred 'egrep' utility.])
 AC_ARG_VAR(FGREP, [Location of preferred 'fgrep' utility.])
@@ -983,8 +982,6 @@ whois/Makefile
 ping/Makefile
 ifconfig/Makefile
 ifconfig/system/Makefile
-doc/Makefile
-man/Makefile
 tests/Makefile
 confpaths.h:confpaths.h.in
 ])
-- 
2.37.2

