From b65329583324399a78d63886cade03bef80e0175 Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Tue, 4 Aug 2020 15:25:24 +0200 Subject: Makefile: mageiadist: add explanations, use xz -5 (way quicker than -6) --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9e3f4fb8..c3adc353 100644 --- a/Makefile +++ b/Makefile @@ -151,11 +151,13 @@ archive: clean mageiadist: clean - @git archive --format=tar --prefix=initscripts-$(VERSION)/ HEAD ':po-mageia' ':man-mageia' > initscripts-$(VERSION)-mageia.tar + # Make a tarball for all the bits which are unlikely to change + @git archive --format=tar --prefix=initscripts-$(VERSION)/ $(git rev-parse HEAD) ':po-mageia' ':man-mageia' > initscripts-$(VERSION)-mageia.tar @mkdir -p initscripts-$(VERSION)/ @tar --append -f initscripts-$(VERSION)-mageia.tar initscripts-$(VERSION) - @gzip -f initscripts-$(VERSION)-mageia.tar + @xz -f -5 initscripts-$(VERSION)-mageia.tar @rm -rf initscripts-$(VERSION) - @echo "The Mageia archive is at initscripts-$(VERSION)-mageia.tar.gz" + @echo "The Mageia archive is at initscripts-$(VERSION)-mageia.tar.xz" + # Make a tarball for all the bits which could change more often @git diff 10.04...distro/mga ':!po-mageia' ':!man-mageia' > initscripts-$(VERSION)-mageia.patch @echo "The Mageia patch is at initscripts-$(VERSION)-mageia.patch" -- cgit v1.2.1