mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 15:12:47 +00:00
btrfs-progs: fix build, manpage compression command
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 <mail@eworm.de> Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
602aac5dbf
commit
d339d863ad
@ -45,7 +45,7 @@ MANPAGE_XSL = manpage-normal.xsl
|
|||||||
XMLTO = xmlto
|
XMLTO = xmlto
|
||||||
XMLTO_EXTRA =
|
XMLTO_EXTRA =
|
||||||
XMLTO_EXTRA = -m manpage-bold-literal.xsl
|
XMLTO_EXTRA = -m manpage-bold-literal.xsl
|
||||||
GZIP = gzip
|
GZIPCMD = gzip
|
||||||
INSTALL ?= install
|
INSTALL ?= install
|
||||||
RM ?= rm -f
|
RM ?= rm -f
|
||||||
LNS ?= ln -sf
|
LNS ?= ln -sf
|
||||||
@ -80,7 +80,7 @@ clean:
|
|||||||
$(RM) *.xml *.xml+ *.8 *.8.gz
|
$(RM) *.xml *.xml+ *.8 *.8.gz
|
||||||
|
|
||||||
%.8.gz : %.8
|
%.8.gz : %.8
|
||||||
$(QUIET_GZIP)$(GZIP) -n -c $< > $@
|
$(QUIET_GZIP)$(GZIPCMD) -n -c $< > $@
|
||||||
|
|
||||||
%.8 : %.xml
|
%.8 : %.xml
|
||||||
$(QUIET_XMLTO)$(RM) $@ && \
|
$(QUIET_XMLTO)$(RM) $@ && \
|
||||||
|
Loading…
Reference in New Issue
Block a user