make: fix invoking makeinfo failed at do_install time

Reproduce steps:
$ bitbake texinfo-native
$ bitbake make
$ bitbake make -cdevshell
In the devshell:
root:make-3.82# echo "" >> doc/make.texi
root:make-3.82# ../temp/run.do_install

Failed Log:
...
tmp/work/i586-poky-linux/make/3.81-r1/make-3.81/doc/make.texi:8165: @itemx must follow @item
...

Backport from make 4.0 to fix this issue.

[YOCTO #6219]

(From OE-Core rev: b191d869e86c7d4393716eee6ac27aa259d6521c)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Hongxu Jia 2014-04-25 08:59:36 +00:00 committed by Richard Purdie
parent 50e9ccb2af
commit e07904836a
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,24 @@
doc/make.texi: fix @itemx must follow @item
Upstream-Status: Backport from make 4.0
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
doc/make.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/make.texi b/doc/make.texi
--- a/doc/make.texi
+++ b/doc/make.texi
@@ -8162,7 +8162,7 @@ from complicated nests of recursive @code{make} commands.
rarely need to specify this option since @samp{make} does it for you;
see @ref{-w Option, ,The @samp{--print-directory} Option}.)
-@itemx --no-print-directory
+@item --no-print-directory
@cindex @code{--no-print-directory}
Disable printing of the working directory under @code{-w}.
This option is useful when @code{-w} is turned on automatically,
--
1.8.1.2

View File

@ -6,6 +6,7 @@ HOMEPAGE = "http://www.gnu.org/software/make/"
SECTION = "devel"
SRC_URI = "${GNU_MIRROR}/make/make-${PV}.tar.bz2 \
file://doc-make.texi-fix-itemx-must-follow-item.patch \
file://SCCS.patch"
inherit autotools gettext