aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files 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"