summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 2a44b07..ee191aa 100644
--- a/Makefile
+++ b/Makefile
@@ -22,15 +22,9 @@ localdist: dist
clean:
-rm -f *~
-cleandist: clean
- rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.xz
tar:
- tar cJf $(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION)
+ git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz;
rm -rf $(NAME)-$(VERSION)
-dist: cleandist export tar
-
-export:
- svn export -q -rBASE . $(NAME)-$(VERSION)
-
+dist: tar