From a2296dbdf9b9edf156f1786ce80ab75c01df867d Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 19 Mar 2020 14:57:51 +0100 Subject: [PATCH] build: Don't produce cockpit-cache.tar.gz in dist-gzip mode This speeds up test/image-prepare for humans and CI. Official releases use "dist" and build xz tarballs, and we only want the -cache for these for license reasons. Closes #13759 --- Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 90dfc90d5..bee855890 100644 --- a/Makefile.am +++ b/Makefile.am @@ -421,7 +421,6 @@ XZ_COMPRESS_FLAGS = --extreme dist-gzip: distdir $(DIST_TAR_MAIN) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz - $(DIST_TAR_CACHE) | GZIP=$(GZIP_ENV) gzip -c > cockpit-cache-$(VERSION).tar.gz find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "$(distdir)" dist-xz: distdir $(DIST_TAR_MAIN) | xz $(XZ_COMPRESS_FLAGS) > $(distdir).tar.xz