summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-09-01 14:10:51 +0100
committerColin Guthrie <colin@mageia.org>2013-09-01 15:12:40 +0100
commita26428b141818232b0d0de04d4db2929e9693450 (patch)
tree529fa4abb15d9be7d082192bd4ba60bca77606df /Makefile
parentd85cfc53e51bc296ed438ed1e315140e0542fae8 (diff)
downloadcontrol-center-a26428b141818232b0d0de04d4db2929e9693450.tar
control-center-a26428b141818232b0d0de04d4db2929e9693450.tar.gz
control-center-a26428b141818232b0d0de04d4db2929e9693450.tar.bz2
control-center-a26428b141818232b0d0de04d4db2929e9693450.tar.xz
control-center-a26428b141818232b0d0de04d4db2929e9693450.zip
Remove svn support from Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 1 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index d65304ca..bbefae62 100644
--- a/Makefile
+++ b/Makefile
@@ -49,25 +49,9 @@ install: all
dis: dist
dist: clean
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) ../$(NAME)-$(VERSION).tar*
- svn export -q -rBASE . $(NAME)-$(VERSION)
- 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;
-
changelog:
svn2cl --authors ../common/username.xml --accum
rm -f ChangeLog.bak