From 631db38d2576ceaf72c92db9a0c95b9ef4f91aaf Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 5 Jan 2013 15:35:32 +0000 Subject: [PATCH] Fix dist target and comment refering to svn --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index b068ad75..eec2e1ad 100644 --- a/Makefile +++ b/Makefile @@ -267,7 +267,7 @@ ifneq ($(BUILD_CLIENT),0) endif endif -# Add svn version info +# Add git version info USE_GIT= ifeq ($(wildcard .git),.git) GIT_REV=$(shell git show -s --pretty=format:%h-%ad --date=short) @@ -2662,10 +2662,7 @@ else endif dist: - rm -rf $(CLIENTBIN)-$(VERSION) - svn export . $(CLIENTBIN)-$(VERSION) - tar --owner=root --group=root --force-local -cjf $(CLIENTBIN)-$(VERSION).tar.bz2 $(CLIENTBIN)-$(VERSION) - rm -rf $(CLIENTBIN)-$(VERSION) + git archive --format zip --output $(CLIENTBIN)-$(VERSION).zip HEAD ############################################################################# # DEPENDENCIES