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:
parent
2a3653a780
commit
a2296dbdf9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue