From patchwork Mon Aug 6 20:54:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Gilbert X-Patchwork-Id: 10557953 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E6EB7157B for ; Mon, 6 Aug 2018 20:54:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7CAF297DD for ; Mon, 6 Aug 2018 20:54:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBD3529825; Mon, 6 Aug 2018 20:54:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BD7C297DD for ; Mon, 6 Aug 2018 20:54:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732410AbeHFXFZ (ORCPT ); Mon, 6 Aug 2018 19:05:25 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:35620 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727665AbeHFXFZ (ORCPT ); Mon, 6 Aug 2018 19:05:25 -0400 Received: from naomi.gilbertsystems.net (unknown [24.192.26.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id E9955335CA0 for ; Mon, 6 Aug 2018 20:54:34 +0000 (UTC) From: Mike Gilbert To: linux-btrfs@vger.kernel.org Subject: [PATCH 1/2] Install uncompressed man pages Date: Mon, 6 Aug 2018 16:54:31 -0400 Message-Id: <20180806205432.11009-1-floppym@gentoo.org> X-Mailer: git-send-email 2.18.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Build systems do not typically compress man pages when installing them. This is generally left to distro packaging mechanisms, which may end up recompressing them using a different compressor. --- Documentation/Makefile.in | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in index 184647c4..c4c843cb 100644 --- a/Documentation/Makefile.in +++ b/Documentation/Makefile.in @@ -37,9 +37,9 @@ MAN3_TXT += btrfs-ioctl.asciidoc MAN_TXT = $(MAN3_TXT) $(MAN8_TXT) $(MAN5_TXT) MAN_XML = $(patsubst %.asciidoc,%.xml,$(MAN_TXT)) MAN_HTML = $(patsubst %.asciidoc,%.html,$(MAN_TXT)) -GZ_MAN3 = $(patsubst %.asciidoc,%.3.gz,$(MAN3_TXT)) -GZ_MAN5 = $(patsubst %.asciidoc,%.5.gz,$(MAN5_TXT)) -GZ_MAN8 = $(patsubst %.asciidoc,%.8.gz,$(MAN8_TXT)) +MAN3 = $(patsubst %.asciidoc,%.3,$(MAN3_TXT)) +MAN5 = $(patsubst %.asciidoc,%.5,$(MAN5_TXT)) +MAN8 = $(patsubst %.asciidoc,%.8,$(MAN8_TXT)) mandir ?= $(prefix)/share/man man3dir = $(mandir)/man3 @@ -86,9 +86,9 @@ endif all: man man: man3 man5 man8 -man3: $(GZ_MAN3) -man5: $(GZ_MAN5) -man8: $(GZ_MAN8) +man3: $(MAN3) +man5: $(MAN5) +man8: $(MAN8) html: $(MAN_HTML) install: install-man @@ -96,15 +96,15 @@ install: install-man install-man: man $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir) $(INSTALL) -d -m 755 $(DESTDIR)$(man8dir) - $(INSTALL) -m 644 $(GZ_MAN5) $(DESTDIR)$(man5dir) + $(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 - $(MV) $(DESTDIR)$(man5dir)/btrfs-man5.5.gz $(DESTDIR)$(man5dir)/btrfs.5.gz - $(INSTALL) -m 644 $(GZ_MAN8) $(DESTDIR)$(man8dir) - $(LN_S) -f btrfs-check.8.gz $(DESTDIR)$(man8dir)/btrfsck.8.gz + $(MV) $(DESTDIR)$(man5dir)/btrfs-man5.5 $(DESTDIR)$(man5dir)/btrfs.5 + $(INSTALL) -m 644 $(MAN8) $(DESTDIR)$(man8dir) + $(LN_S) -f btrfs-check.8 $(DESTDIR)$(man8dir)/btrfsck.8 uninstall: - cd $(DESTDIR)$(man8dir); rm -f btrfs-check.8.gz $(GZ_MAN8) + cd $(DESTDIR)$(man8dir); rm -f btrfs-check.8 $(MAN8) $(RMDIR) -p --ignore-fail-on-non-empty $(DESTDIR)$(man8dir) clean: From patchwork Mon Aug 6 20:54:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Gilbert X-Patchwork-Id: 10557951 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D956D1390 for ; Mon, 6 Aug 2018 20:54:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6FD7297E2 for ; Mon, 6 Aug 2018 20:54:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B89CF297F2; Mon, 6 Aug 2018 20:54:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CCFC297E2 for ; Mon, 6 Aug 2018 20:54:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732722AbeHFXF0 (ORCPT ); Mon, 6 Aug 2018 19:05:26 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:35622 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728948AbeHFXFZ (ORCPT ); Mon, 6 Aug 2018 19:05:25 -0400 Received: from naomi.gilbertsystems.net (unknown [24.192.26.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 60172335CA5 for ; Mon, 6 Aug 2018 20:54:35 +0000 (UTC) From: Mike Gilbert To: linux-btrfs@vger.kernel.org Subject: [PATCH 2/2] Install btrfs-ioctl.3 man page Date: Mon, 6 Aug 2018 16:54:32 -0400 Message-Id: <20180806205432.11009-2-floppym@gentoo.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180806205432.11009-1-floppym@gentoo.org> References: <20180806205432.11009-1-floppym@gentoo.org> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP --- 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) $(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