summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a0ed05b0..6a759132 100644
--- a/Makefile
+++ b/Makefile
@@ -258,7 +258,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)
@@ -2234,10 +2234,7 @@ distclean: clean toolsclean
@rm -rf $(BUILD_DIR)
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