diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -126,7 +126,7 @@ clean-mageia: # Remove the files we've added @for i in $(Mageia_FILES);do rm -f $$i;done # Try to remove any empty directories caused by the files we've removed - @for i in $(Mageia_SUBDIRS);do [ -d "$$1" ] && [ ! -h "$$1" ] && rmdir "$$1" 2> /dev/null;done + @for i in $(Mageia_SUBDIRS);do [ -d "$$1" ] && [ ! -h "$$1" ] && rmdir "$$1" 2> /dev/null || :;done tag: @git tag -a -f -m "$(VERSION) release" $(VERSION) @@ -148,3 +148,14 @@ archive: clean @gzip -f initscripts-$(VERSION).tar @rm -rf initscripts-$(VERSION) @echo "The archive is at initscripts-$(VERSION).tar.gz" + + +mageiadist: clean + @git archive --format=tar --prefix=initscripts-$(VERSION)/ 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 + @rm -rf initscripts-$(VERSION) + @echo "The Mageia archive is at initscripts-$(VERSION)-mageia.tar.gz" + @git diff 10.04...distro/mga ':!po-mageia' ':!man-mageia' > initscripts-$(VERSION)-mageia.patch + @echo "The Mageia patch is at initscripts-$(VERSION)-mageia.patch" |