From: Christian Hesse <list@eworm.de>
To: linux-btrfs@vger.kernel.org
Subject: fix btrfs-progs build
Date: Mon, 8 Oct 2012 16:17:13 +0200 [thread overview]
Message-ID: <20121008161713.218a6eb1@leda> (raw)
[-- Attachment #1: Type: text/plain, Size: 650 bytes --]
Hello everybody,
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. Patch is attached.
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];)
putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
[-- Attachment #2: btrfs-progs.diff --]
[-- Type: text/x-patch, Size: 1114 bytes --]
diff --git a/man/Makefile b/man/Makefile
index 4a90b75..f7b57f7 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -1,4 +1,4 @@
-GZIP=gzip
+GZIPCMD=gzip
INSTALL= install
prefix ?= /usr/local
@@ -12,22 +12,22 @@ MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz btrfs-image.8.gz \
all: $(MANPAGES)
mkfs.btrfs.8.gz: mkfs.btrfs.8.in
- $(GZIP) -n -c mkfs.btrfs.8.in > mkfs.btrfs.8.gz
+ $(GZIPCMD) -n -c mkfs.btrfs.8.in > mkfs.btrfs.8.gz
btrfs.8.gz: btrfs.8.in
- $(GZIP) -n -c btrfs.8.in > btrfs.8.gz
+ $(GZIPCMD) -n -c btrfs.8.in > btrfs.8.gz
btrfsctl.8.gz: btrfsctl.8.in
- $(GZIP) -n -c btrfsctl.8.in > btrfsctl.8.gz
+ $(GZIPCMD) -n -c btrfsctl.8.in > btrfsctl.8.gz
btrfsck.8.gz: btrfsck.8.in
- $(GZIP) -n -c btrfsck.8.in > btrfsck.8.gz
+ $(GZIPCMD) -n -c btrfsck.8.in > btrfsck.8.gz
btrfs-image.8.gz: btrfs-image.8.in
- $(GZIP) -n -c btrfs-image.8.in > btrfs-image.8.gz
+ $(GZIPCMD) -n -c btrfs-image.8.in > btrfs-image.8.gz
btrfs-show.8.gz: btrfs-show.8.in
- $(GZIP) -n -c btrfs-show.8.in > btrfs-show.8.gz
+ $(GZIPCMD) -n -c btrfs-show.8.in > btrfs-show.8.gz
clean :
rm -f $(MANPAGES)
next reply other threads:[~2012-10-08 14:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-08 14:17 Christian Hesse [this message]
2012-10-08 14:29 ` fix btrfs-progs build Chris Mason
2012-10-08 14:30 ` Christian Hesse
2012-10-08 14:33 ` Chris Mason
2012-10-08 14:45 ` Christian Hesse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121008161713.218a6eb1@leda \
--to=list@eworm.de \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).