diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,4 +1,4 @@ -PACKAGE = setup +NAME = setup VERSION = 2.7.21 SVNPATH = svn+ssh://svn.mageia.org/svn/soft/$(PACKAGE) @@ -32,9 +32,7 @@ install: echo -n '' > $(DESTDIR)/var/log/lastlog echo -n '' > $(DESTDIR)/etc/mtab -tar: - tar cvjf $(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION) - rm -rf $(PACKAGE)-$(VERSION) - -dist: tar +dist: + @git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz + @echo "The archive is at $(NAME)-$(VERSION).tar.xz" |