diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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" |