summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils/coreutils-8.23/man-decouple-manpages-from-build.patch
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-02-17 00:47:44 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-17 22:35:02 +0000
commita48168602e332090b49802531339b4f8104fb3ac (patch)
tree3a22c056281718ad341c68a7ba01270479aa1fc9 /meta/recipes-core/coreutils/coreutils-8.23/man-decouple-manpages-from-build.patch
parent2ca0339b3969f9754bc7c4e69c49175c8c1287dc (diff)
downloadpoky-a48168602e332090b49802531339b4f8104fb3ac.tar.gz
coreutils: don't generate useless dummy stub manpages
We had a couple patches to 1) deal with missing perl and 2) deal with the perl-less "dummy" help2man fallout, but in the end, they achieve no purpose whatsoever, since they just populate the doc RPM with manpages like this one: NAME chmod - a GNU coreutils 8.22 program DESCRIPTION OOOPS! Due to the lack of perl on the build system, we were unable to create a proper manual page for chmod. As the above serves no purpose whatsoever, and since the concept of running the binaries to capture the "--help" text output is completely broken for cross compiles, lets just decouple man page generation from the building of coreutils entirely so it paves the way for importing pre-generated manpages. (From OE-Core rev: cb2519466b4d28217ae955370077bc4a8f9b6dce) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/coreutils/coreutils-8.23/man-decouple-manpages-from-build.patch')
-rw-r--r--meta/recipes-core/coreutils/coreutils-8.23/man-decouple-manpages-from-build.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-8.23/man-decouple-manpages-from-build.patch b/meta/recipes-core/coreutils/coreutils-8.23/man-decouple-manpages-from-build.patch
new file mode 100644
index 0000000000..3c896a11bf
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-8.23/man-decouple-manpages-from-build.patch
@@ -0,0 +1,27 @@
1From b4d258629f090066783c3b4c91b40f63b9d0a296 Mon Sep 17 00:00:00 2001
2From: Paul Gortmaker <paul.gortmaker@windriver.com>
3Date: Sun, 8 Feb 2015 16:51:57 -0500
4Subject: [PATCH] man: decouple manpages from build
5
6The use of "help2man" doesn't work at all for cross compile, in
7addition to the extra requirement of perl it adds.
8
9Just decouple the manpages from the build in order to pave the way for
10importing prebuilt manpages that can be used in a cross build situation.
11
12Upstream-Status: Inappropriate [upstream doesn't care about x-compile case.]
13Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
14
15diff --git a/Makefile.am b/Makefile.am
16index fb4af27..7576b2c 100644
17--- a/Makefile.am
18+++ b/Makefile.am
19@@ -214,5 +214,4 @@ AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib -Isrc -I$(top_srcdir)/src
20 include $(top_srcdir)/lib/local.mk
21 include $(top_srcdir)/src/local.mk
22 include $(top_srcdir)/doc/local.mk
23-include $(top_srcdir)/man/local.mk
24 include $(top_srcdir)/tests/local.mk
25--
262.2.2
27