]> 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 20:05:49 +0000 (22:05 +0200)
bz2 seems more or less obsolete since xz compresses better (and
decompresses faster), and gz is more ubiquitous.

dev.mk.in

index fc5037c8b3d69dcf9a4ffc822d2921ca1ca8af55..da76797c9f6945dde61846ce46095e2de6c3d1e5 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 \
@@ -62,7 +59,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 && \