From: Randy Dunlap <rdunlap@infradead.org>
To: Michal Marek <mmarek@suse.cz>, Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] DocBook: Do not exceed argument list limit
Date: Mon, 26 Jan 2015 17:36:19 -0800 [thread overview]
Message-ID: <54C6EB93.6080409@infradead.org> (raw)
In-Reply-To: <1422268277-5333-1-git-send-email-mmarek@suse.cz>
Adding Mr. Corbet.
On 01/26/15 02:31, Michal Marek wrote:
> Use find + xargs to compress the generated manpages. Without this patch,
> the build can fail with
>
> gzip -f Documentation/DocBook/man/*.9
> /bin/bash: /usr/bin/gzip: Argument list too long
>
> This happened with qemu user mode emulation on aarch64.
>
> Signed-off-by: Michal Marek <mmarek@suse.cz>
> ---
> Documentation/DocBook/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
> index 9c7d92d..b6a6a2e 100644
> --- a/Documentation/DocBook/Makefile
> +++ b/Documentation/DocBook/Makefile
> @@ -56,7 +56,7 @@ htmldocs: $(HTML)
>
> MAN := $(patsubst %.xml, %.9, $(BOOKS))
> mandocs: $(MAN)
> - $(if $(wildcard $(obj)/man/*.9),gzip -f $(obj)/man/*.9)
> + find $(obj)/man -name '*.9' | xargs gzip -f
>
> installmandocs: mandocs
> mkdir -p /usr/local/man/man9/
>
--
~Randy
next prev parent reply other threads:[~2015-01-27 1:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-26 10:31 [PATCH] DocBook: Do not exceed argument list limit Michal Marek
2015-01-27 1:36 ` Randy Dunlap [this message]
2015-01-28 19:00 ` Jonathan Corbet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54C6EB93.6080409@infradead.org \
--to=rdunlap@infradead.org \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox