aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 3bb87f4..470f52b 100644
--- a/Makefile
+++ b/Makefile
@@ -43,14 +43,7 @@ tex:
pdf:
cd doc && latex2pdf howto_bcd.tex
-tar: export
- tar cjf $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
- rm -rf $(NAME)-$(VERSION)
-# tar cvfj bcd-${VERSION}.tar.bz2 .
+tar:
+ git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz;
-dist: cleandist export tar
-
-export:
- svn export -q -rBASE . $(NAME)-$(VERSION)
-
-dist: cleandist export tar
+dist: cleandist tar