diff mbox series

[2/2] Install btrfs-ioctl.3 man page

Message ID 20180806205432.11009-2-floppym@gentoo.org (mailing list archive)
State New, archived
Headers show
Series [1/2] Install uncompressed man pages | expand

Commit Message

Mike Gilbert Aug. 6, 2018, 8:54 p.m. UTC
---
 Documentation/Makefile.in | 2 ++
 1 file changed, 2 insertions(+)

Comments

David Sterba Aug. 7, 2018, 1:48 p.m. UTC | #1
On Mon, Aug 06, 2018 at 04:54:32PM -0400, Mike Gilbert wrote:
> ---
>  Documentation/Makefile.in | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in
> index c4c843cb..5bc0d80d 100644
> --- a/Documentation/Makefile.in
> +++ b/Documentation/Makefile.in
> @@ -94,8 +94,10 @@ html: $(MAN_HTML)
>  install: install-man
>  
>  install-man: man
> +	$(INSTALL) -d -m 755 $(DESTDIR)$(man3dir)
>  	$(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
>  	$(INSTALL) -d -m 755 $(DESTDIR)$(man8dir)
> +	$(INSTALL) -m 644 $(MAN3) $(DESTDIR)$(man3dir)

MAN3_TXT += btrfs-ioctl.asciidoc

The section 3 page is not ready to be published so it's intentionally
left out of installation.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in
index c4c843cb..5bc0d80d 100644
--- a/Documentation/Makefile.in
+++ b/Documentation/Makefile.in
@@ -94,8 +94,10 @@  html: $(MAN_HTML)
 install: install-man
 
 install-man: man
+	$(INSTALL) -d -m 755 $(DESTDIR)$(man3dir)
 	$(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
 	$(INSTALL) -d -m 755 $(DESTDIR)$(man8dir)
+	$(INSTALL) -m 644 $(MAN3) $(DESTDIR)$(man3dir)
 	$(INSTALL) -m 644 $(MAN5) $(DESTDIR)$(man5dir)
 	# the source file name of btrfs.5 clashes with section 8 page, but we
 	# want to keep the code generic