aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 1 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index 4a5ffe2..6558e13 100644
--- a/Makefile
+++ b/Makefile
@@ -41,28 +41,5 @@ dis: dist
dist: clean
rm -rf ../$(NAME)-$(VERSION).tar*
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
- @if [ -e ".svn" ]; then \
- $(MAKE) dist-svn; \
- elif [ -e ".git" ]; then \
- $(MAKE) dist-git; \
- else \
- echo "Unknown SCM (not SVN nor GIT)";\
- exit 1; \
- fi;
+ @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz;
$(info $(NAME)-$(VERSION).tar.xz is ready)
-
-dist-svn:
- rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
- svn export -q -rBASE . $(NAME)-$(VERSION)
- find $(NAME)-$(VERSION) -name .svnignore |xargs rm -rf
- tar cfa ../$(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION)
- rm -rf $(NAME)-$(VERSION)
-
-dist-git:
- @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz;
-
-.PHONY: ChangeLog
-ChangeLog:
- svn2cl --accum --authors ../../soft/common/username.xml
- rm -f *.bak
- svn commit -m "Generated by svn2cl the `LC_TIME=C date '+%d_%b'`" ChangeLog