aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 83999ff..3856d8f 100644
--- a/Makefile
+++ b/Makefile
@@ -50,14 +50,7 @@ clean:
cleandist: clean
rm -fr $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz
-dir:
- mkdir $(PACKAGE)-$(VERSION)
-
-localcopy:
- tar c --exclude=.git $(FILES) | tar x -C $(PACKAGE)-$(VERSION)
-
tar:
- tar cvYf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
- rm -fr $(PACKAGE)-$(VERSION)
+ @git archive --prefix=$(PACKAGE)-$(VERSION)/ HEAD | xz > $(PACKAGE)-$(VERSION).tar.xz;
-dist: cleandist dir localcopy tar
+dist: cleandist tar