From 9e1f8f4802c0f4b36d15bd6c401d579b34e86d6b Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 5 Jan 2013 15:35:32 +0000 Subject: Fix dist target and comment refering to svn --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit