Skip to contentSkip to conversation

erofs-utils: manpage: only install erofsfuse.1 with the command

PATCH In review David Michael 2 participants 2 messages Jun 3, 2021 – Jun 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 erofs-utils: manpage: only install erofsfuse.1 with the command

---

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(-)
man/Makefile.am +5 -1
index ffcf6f8..0df947b 100644
@@ -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
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw

Hi David,

Quoted 9 lines · David Michael

---

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.

(Will apply hours later.)

Thanks,
Gao Xiang

Quoted 23 lines

David

 man/Makefile.am | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
man/Makefile.am +5 -1
index ffcf6f8..0df947b 100644
@@ -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
Signature · 1 line
2.31.1