]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Don’t build tar.bz2 release archive
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 17 Jul 2019 18:38:30 +0000 (20:38 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 18 Jul 2019 19:11:42 +0000 (21:11 +0200)
bz2 seems more or less obsolete since xz compresses better (and
decompresses faster), and gz is more ubiquitous.

dev.mk.in

index ac92aa2566f3d19d77bb8e9a9fbe42c8cf534c76..1b728feda2ca5ebf21a736c12f1383346b6e2ff2 100644 (file)
--- a/dev.mk.in
+++ b/dev.mk.in
@@ -22,11 +22,8 @@ version := \
 
 dist_dir = ccache-$(version)
 dist_archives = \
-    ccache-$(version).tar.bz2 \
-    ccache-$(version).tar.gz
-ifneq ($(shell uname), Darwin)
-    dist_archives += ccache-$(version).tar.xz
-endif
+    ccache-$(version).tar.gz \
+    ccache-$(version).tar.xz
 
 generated_docs = \
     LICENSE.html \
@@ -64,7 +61,7 @@ headers = \
 generated_headers = \
     unittest/suites.h
 
-files_to_clean += *.tar.bz2 *.tar.gz *.tar.xz *.xml doc/*.xml .deps/* perfdir.*
+files_to_clean += *.tar.gz *.tar.xz *.xml doc/*.xml .deps/* perfdir.*
 files_to_clean += compile_commands.json
 files_to_clean += src/confitems_lookup.c
 files_to_clean += src/envtoconfitems_lookup.c
@@ -145,7 +142,6 @@ $(dist_archives): $(dist_files)
        (cd $$tmpdir && \
         tarcompression= && \
         case $@ in \
-            *.bz2) tarcompression=-j ;; \
             *.gz) tarcompression=-z ;; \
             *.xz) tarcompression=-J ;; \
         esac && \