bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] build: Distribute tarball compressed with xz instead of bzip


From: Thomas Schwinge
Subject: Re: [PATCH] build: Distribute tarball compressed with xz instead of bzip2
Date: Tue, 6 Nov 2018 10:47:02 +0100
User-agent: Notmuch/0.9-125-g4686d11 (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu)

Hi!

On Tue,  6 Nov 2018 02:47:53 +0100, Guillem Jover <guillem@hadrons.org> wrote:
> * Makefile (dist): Change bz2 to xz.
> (%.xz): Add target.
> (%.bz2): Remove target.

Curious: why a) use "xz" instead of what we got before, b) move from
"bz2" to "xz" instead of offering both (like we continue to do for "gz")?


Grüße
 Thomas


> ---
>  Makefile | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index c0aa59a0e..6288a1573 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -83,7 +83,7 @@ dist-version := $(shell cd $(top_srcdir)/ && 
> $(git_describe))
>  
>  .PHONY: dist
>  ifdef configured
> -dist: $(foreach Z,bz2 gz,$(dist-version).tar.$(Z))
> +dist: $(foreach Z,xz gz,$(dist-version).tar.$(Z))
>  else
>  dist:
>       @echo >&2 'Cannot build a distribution from an unconfigured tree.'
> @@ -238,8 +238,8 @@ install-headers: $(addsuffix 
> -install-headers,$(lib-subdirs) \
>  TAGS: $(addsuffix -TAGS,$(working-prog-subdirs) $(lib-subdirs))
>       etags -o $@ $(patsubst %-TAGS,-i %/TAGS,$^)
>  
> -%.bz2: %
> -     bzip2 -9 < $< > $@
> +%.xz: %
> +     xz < $< > $@
>  
>  %.gz: %
>       gzip -9n < $< > $@
> -- 
> 2.19.1.1182.g4ecb1133ce



reply via email to

[Prev in Thread] Current Thread [Next in Thread]