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
This commit is contained in:
Martin Pitt 2020-03-19 14:57:51 +01:00 committed by Martin Pitt
parent 2a3653a780
commit a2296dbdf9
1 changed files with 0 additions and 1 deletions

View File

@ -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