Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d56fcf29 authored by Michal Marek's avatar Michal Marek Committed by Jonathan Corbet
Browse files

DocBook: Do not exceed argument list limit



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: default avatarMichal Marek <mmarek@suse.cz>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 4f7d4559
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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/