summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 1 insertions, 26 deletions
diff --git a/Makefile b/Makefile
index 8de09fe5..001563be 100644
--- a/Makefile
+++ b/Makefile
@@ -68,30 +68,5 @@ dis: dist
dist:
@make cleandist
rm -rf ../$(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)
- svn export -q -rBASE . $(NAME)-$(VERSION)
- tar cfa ../$(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
- rm -rf $(NAME)-$(VERSION)
-
-
-dist-git:
- @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz;
-
-log:changelog
-
-changelog: ../common/username
-#svn2cl is available in our contrib.
- svn2cl --authors ../common/username.xml --accum
- rm -f ChangeLog.bak
- svn commit -m "Generated by svn2cl the `date '+%c'`" ChangeLog