From 6a0d1ee8b8973644e0e766a7c881246aeef3092a Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Sat, 21 Sep 2024 01:56:11 +0300 Subject: [PATCH] chore(rules): Boost ZSTD compression level closer to XZ --- rules/rules.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rules/rules.mk b/rules/rules.mk index 167e9ba..285bd77 100644 --- a/rules/rules.mk +++ b/rules/rules.mk @@ -370,9 +370,12 @@ $(DISTDIR): .PHONY: dist dist: $(DISTDIR).zip $(DISTDIR).tar.zst -$(DISTDIR).tar.bz2 $(DISTDIR).tar.gz $(DISTDIR).tar.xz $(DISTDIR).zip $(DISTDIR).tar.zst: install-dist +$(DISTDIR).tar.bz2 $(DISTDIR).tar.gz $(DISTDIR).tar.xz $(DISTDIR).zip: install-dist bsdtar -acf $@ $(DISTDIR) +$(DISTDIR).tar.zst: install-dist + bsdtar --zstd --options zstd:compression-level=19 -cf $@ $(DISTDIR) + _E = md txt markdown dist_doc_DATA ?= $(wildcard $(foreach B,readme README contributors CONTRIBUTORS fontlog FONTLOG,$(foreach E,$(_E),$(B).$(E)))) dist_license_DATA ?= $(wildcard $(foreach B,ofl OFL ofl-faq OFL-FAQ license LICENSE copying COPYING copyingn-ofl COPYING-OFL authors AUTHORS,$(foreach E,$(_E),$(B).$(E))))