linux-erofs.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] erofs-utils: manpage: only install erofsfuse.1 with the command
@ 2021-06-03 20:18 David Michael
  2021-06-04  3:33 ` Gao Xiang
  0 siblings, 1 reply; 2+ messages in thread
From: David Michael @ 2021-06-03 20:18 UTC (permalink / raw)
  To: linux-erofs; +Cc: xiang

Signed-off-by: David Michael <fedora.dm0@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-04  3:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 20:18 [PATCH] erofs-utils: manpage: only install erofsfuse.1 with the command David Michael
2021-06-04  3:33 ` Gao Xiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).