diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-02-17 00:47:44 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-17 22:35:02 +0000 |
commit | a48168602e332090b49802531339b4f8104fb3ac (patch) | |
tree | 3a22c056281718ad341c68a7ba01270479aa1fc9 /meta/recipes-core/coreutils/coreutils-8.23/dummy_help2man.patch | |
parent | 2ca0339b3969f9754bc7c4e69c49175c8c1287dc (diff) | |
download | poky-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/dummy_help2man.patch')
-rw-r--r-- | meta/recipes-core/coreutils/coreutils-8.23/dummy_help2man.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-8.23/dummy_help2man.patch b/meta/recipes-core/coreutils/coreutils-8.23/dummy_help2man.patch deleted file mode 100644 index 4757f52aa0..0000000000 --- a/meta/recipes-core/coreutils/coreutils-8.23/dummy_help2man.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [disable feature] | ||
2 | |||
3 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
4 | diff -Nurd coreutils-8.21/man/local.mk coreutils-8.21/man/local.mk | ||
5 | --- coreutils-8.21/man/local.mk 2013-02-05 16:01:21.000000000 +0200 | ||
6 | +++ coreutils-8.21/man/local.mk 2013-03-23 09:12:53.360470192 +0200 | ||
7 | @@ -19,11 +19,11 @@ | ||
8 | EXTRA_DIST += man/help2man man/dummy-man | ||
9 | |||
10 | ## Graceful degradation for systems lacking perl. | ||
11 | -if HAVE_PERL | ||
12 | -run_help2man = $(PERL) -- $(srcdir)/man/help2man | ||
13 | -else | ||
14 | +#if HAVE_PERL | ||
15 | +#run_help2man = $(PERL) -- $(srcdir)/man/help2man | ||
16 | +#else | ||
17 | run_help2man = $(SHELL) $(srcdir)/man/dummy-man | ||
18 | -endif | ||
19 | +#endif | ||
20 | |||
21 | man1_MANS = @man1_MANS@ | ||
22 | EXTRA_DIST += $(man1_MANS:.1=.x) | ||