summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 0fe5bdd..db0ab0a 100644
--- a/Makefile
+++ b/Makefile
@@ -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"