summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-07 11:22:35 +0100
committerColin Guthrie <colin@mageia.org>2013-10-07 11:22:35 +0100
commitcd8206c0b25a86aa8958b28c359ee39215212441 (patch)
tree32c0c80119e414616acf5a6addf542865fca29c4 /Makefile
parenta153ab08ca7b7f17143071059862aadc25a23d4f (diff)
downloaddrak3d-cd8206c0b25a86aa8958b28c359ee39215212441.tar
drak3d-cd8206c0b25a86aa8958b28c359ee39215212441.tar.gz
drak3d-cd8206c0b25a86aa8958b28c359ee39215212441.tar.bz2
drak3d-cd8206c0b25a86aa8958b28c359ee39215212441.tar.xz
drak3d-cd8206c0b25a86aa8958b28c359ee39215212441.zip
build: Remove svn support from Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 1 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 57c346c..083a78d 100644
--- a/Makefile
+++ b/Makefile
@@ -41,24 +41,9 @@ clean:
dist: dis
dis:
rm -rf ../$(NAME)-$(VERSION)*.tar* $(NAME)-$(VERSION)
- @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 | bzip2 >../$(NAME)-$(VERSION).tar.bzip2;
$(info $(NAME)-$(VERSION).tar.lzma is ready)
-dist-svn:
- svn export -q -rBASE . $(NAME)-$(VERSION)
- tar cjf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
- rm -rf $(NAME)-$(VERSION)
-
-dist-git:
- @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 >../$(NAME)-$(VERSION).tar.bzip2;
-
.PHONY: ChangeLog log changelog
log: ChangeLog