File: 0001-build-Disable-GFDL-info-files-and-useless-man-pages.patch

package info (click to toggle)
inetutils 2%3A2.4-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,708 kB
  • sloc: ansic: 114,129; sh: 10,305; yacc: 1,651; makefile: 637; perl: 72
file content (57 lines) | stat: -rw-r--r-- 1,719 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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