[PATCH] erofs-utils: manpage: only install erofsfuse.1 with the command
Gao Xiang
hsiangkao at linux.alibaba.com
Fri Jun 4 13:33:46 AEST 2021
Hi David,
On Thu, Jun 03, 2021 at 04:18:57PM -0400, David Michael wrote:
> Signed-off-by: David Michael <fedora.dm0 at gmail.com>
> ---
>
> Hi,
>
> Can the erofsfuse man page be made to install only when the program is
> installed? This will clean up packaging a little bit.
>
> Thanks.
Yeah, very sorry about the stupid mistake.
Reviewed-by: Gao Xiang <xiang at kernel.org>
(Will apply hours later.)
Thanks,
Gao Xiang
>
> David
>
> man/Makefile.am | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/man/Makefile.am b/man/Makefile.am
> index ffcf6f8..0df947b 100644
> --- a/man/Makefile.am
> +++ b/man/Makefile.am
> @@ -1,5 +1,9 @@
> # SPDX-License-Identifier: GPL-2.0+
> # Makefile.am
>
> -dist_man_MANS = mkfs.erofs.1 erofsfuse.1
> +dist_man_MANS = mkfs.erofs.1
>
> +EXTRA_DIST = erofsfuse.1
> +if ENABLE_FUSE
> +man_MANS = erofsfuse.1
> +endif
> --
> 2.31.1
More information about the Linux-erofs
mailing list