summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 15:23:00 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 15:23:41 +0100
commitc61197a3984f8975fa9fd9a3f0cabe05206c1cb9 (patch)
treefcb13409e4e0fc7bb86e43dc3d1bb20070cde323 /Makefile
parent18da0d8fff45df892442070eea6130fdffcb8133 (diff)
downloadmgaonline-c61197a3984f8975fa9fd9a3f0cabe05206c1cb9.tar
mgaonline-c61197a3984f8975fa9fd9a3f0cabe05206c1cb9.tar.gz
mgaonline-c61197a3984f8975fa9fd9a3f0cabe05206c1cb9.tar.bz2
mgaonline-c61197a3984f8975fa9fd9a3f0cabe05206c1cb9.tar.xz
mgaonline-c61197a3984f8975fa9fd9a3f0cabe05206c1cb9.zip
Drop svn support
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