diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |