[PATCH] erofs-utils: manpage: only install erofsfuse.1 with the command
David Michael
fedora.dm0 at gmail.com
Fri Jun 4 06:18:57 AEST 2021
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.
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