aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-08-04 15:25:24 +0200
committerOlav Vitters <olav@vitters.nl>2020-08-04 15:25:24 +0200
commitb65329583324399a78d63886cade03bef80e0175 (patch)
tree3a723bc7029928f7a85dd7ab43d23a67dcef8381
parent73ecc3e2012ac3030d0682d093875fe5a5b2e521 (diff)
downloadinitscripts-b65329583324399a78d63886cade03bef80e0175.tar
initscripts-b65329583324399a78d63886cade03bef80e0175.tar.gz
initscripts-b65329583324399a78d63886cade03bef80e0175.tar.bz2
initscripts-b65329583324399a78d63886cade03bef80e0175.tar.xz
initscripts-b65329583324399a78d63886cade03bef80e0175.zip
Makefile: mageiadist: add explanations, use xz -5 (way quicker than -6)
-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"