summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-01-05 15:35:32 +0000
committerTim Angus <tim@ngus.net>2013-01-12 21:33:14 +0000
commit9e1f8f4802c0f4b36d15bd6c401d579b34e86d6b (patch)
tree10d50d03d558211b9b1b431498b9f06a4ff174b6
parent5d002cdfe9bc1e3c5acea44da97b679767003456 (diff)
Fix dist target and comment refering to svn
-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