From patchwork Tue Jun 3 06:09:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hesse X-Patchwork-Id: 4285231 X-Patchwork-Delegate: dave@jikos.cz Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 96E329F326 for ; Tue, 3 Jun 2014 06:17:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6CF7201DD for ; Tue, 3 Jun 2014 06:17:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4DF46201C8 for ; Tue, 3 Jun 2014 06:17:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753364AbaFCGRf (ORCPT ); Tue, 3 Jun 2014 02:17:35 -0400 Received: from mx.mylinuxtime.de ([148.251.109.235]:54517 "EHLO mx.mylinuxtime.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752351AbaFCGRe (ORCPT ); Tue, 3 Jun 2014 02:17:34 -0400 X-Greylist: delayed 460 seconds by postgrey-1.27 at vger.kernel.org; Tue, 03 Jun 2014 02:17:33 EDT Received: from leda.eworm.de (unknown [10.10.1.2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.mylinuxtime.de (Postfix) with ESMTPSA id 582B12267AF; Tue, 3 Jun 2014 08:09:52 +0200 (CEST) Received: by leda.eworm.de (Postfix, from userid 1000) id 416BF14661A; Tue, 3 Jun 2014 08:09:51 +0200 (CEST) From: Christian Hesse To: linux-btrfs@vger.kernel.org Cc: Qu Wenruo , David Sterba , Christian Hesse Subject: [PATCH 1/1] btrfs-progs: fix build, manpage compression command Date: Tue, 3 Jun 2014 08:09:25 +0200 Message-Id: <1401775765-16646-1-git-send-email-mail@eworm.de> X-Mailer: git-send-email 2.0.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP man pages for btrfs-progs are compressed by gzip by default. In Makefile the variable GZIP is use, this evaluates to 'gzip gzip' on my system. From man gzip: > The environment variable GZIP can hold a set of default options for > gzip. These options are interpreted first and can be overwritten by > explicit command line parameters. So using any other variable name fixes this. Signed-off-by: Christian Hesse --- Documentation/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index 45299bb..e79dd8f 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -45,7 +45,7 @@ MANPAGE_XSL = manpage-normal.xsl XMLTO = xmlto XMLTO_EXTRA = XMLTO_EXTRA = -m manpage-bold-literal.xsl -GZIP = gzip +GZIPCMD = gzip INSTALL ?= install RM ?= rm -f LNS ?= ln -sf @@ -56,7 +56,7 @@ ifneq ($(findstring $(MAKEFLAGS),s),s) ifndef V QUIET_ASCIIDOC = @echo ' ' ASCIIDOC $@; QUIET_XMLTO = @echo ' ' XMLTO $@; - QUIET_GZIP = @echo ' ' GZIP $@; + QUIET_GZIP = @echo ' ' GZIPCMD $@; QUIET_STDERR = 2> /dev/null QUIET_SUBDIR0 = +@subdir= QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \ @@ -80,9 +80,9 @@ clean: $(RM) *.xml *.xml+ *.8 *.8.gz %.8.gz : %.8 - $(QUIET_GZIP)$(GZIP) -n -c $< > $@ + $(QUIET_GZIP)$(GZIPCMD) -n -c $< > $@ -%.8 : %.xml +%.8 : %.xml $(QUIET_XMLTO)$(RM) $@ && \ $(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $< %.xml : %.txt asciidoc.conf